Setup Travis CI
authorSiraaj Khandkar <siraaj@khandkar.net>
Thu, 20 Aug 2015 16:41:14 +0000 (12:41 -0400)
committerSiraaj Khandkar <siraaj@khandkar.net>
Thu, 20 Aug 2015 16:41:14 +0000 (12:41 -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..e5c2cd9
--- /dev/null
@@ -0,0 +1,15 @@
+notifications:
+    recipients:
+    - siraaj@khandkar.net
+
+language:
+    erlang
+
+otp_release:
+    - 18.0
+    - 17.5
+    - 17.0
+    - R16B02
+
+script:
+    "make travis_ci"
index 6e99797..9c15970 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -11,13 +11,17 @@ REBAR := ./rebar
        deps_update \
        dialyze \
        dialyzer_blt_build \
-       test
+       test \
+       travis_ci
 
 all: \
+       travis_ci \
+       dialyze
+
+travis_ci: \
        clean_all \
        deps_get \
        compile_all \
-       dialyze \
        test
 
 deps_get:
index 8c1ec4c..ef77774 100644 (file)
--- a/README.md
+++ b/README.md
@@ -1,3 +1,5 @@
+[![Build Status](https://travis-ci.org/ibnfirnas/beam_stats.svg?branch=master)](https://travis-ci.org/ibnfirnas/beam_stats)
+
 beam_stats
 ==========
 
This page took 0.020604 seconds and 4 git commands to generate.