Set-up Travis CI.
authorSiraaj Khandkar <siraaj@khandkar.net>
Tue, 12 Aug 2014 18:29:37 +0000 (14:29 -0400)
committerSiraaj Khandkar <siraaj@khandkar.net>
Tue, 12 Aug 2014 18:32:21 +0000 (14:32 -0400)
.travis.yml [new file with mode: 0644]
Makefile
README.md

diff --git a/.travis.yml b/.travis.yml
new file mode 100644 (file)
index 0000000..1fadef5
--- /dev/null
@@ -0,0 +1,13 @@
+notifications:
+    recipients:
+    - siraaj@khandkar.net
+
+language:
+    erlang
+
+otp_release:
+    - 17.0
+    - R16B02
+
+script:
+    "make ci"
index 3104462..34c0fe9 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,15 @@
 .PHONY: \
+       ci \
        fresh-build \
        compile \
        clean \
        dialyze \
        test
 
+ci: \
+       compile \
+       test
+
 fresh-build: \
        clean \
        compile
index 1d8fef9..831c50e 100644 (file)
--- a/README.md
+++ b/README.md
@@ -1,2 +1,4 @@
+[![Build Status](https://travis-ci.org/ibnfirnas/hope.svg?branch=master)](https://travis-ci.org/ibnfirnas/hope)
+
 HOPE: Higher Order Programming in Erlang
 ========================================
This page took 0.020766 seconds and 4 git commands to generate.