From fa46439c3b589f9382362c31302e23ddca26549b Mon Sep 17 00:00:00 2001 From: Siraaj Khandkar Date: Thu, 20 Aug 2015 12:41:14 -0400 Subject: [PATCH] Setup Travis CI --- .travis.yml | 15 +++++++++++++++ Makefile | 8 ++++++-- README.md | 2 ++ 3 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..e5c2cd9 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,15 @@ +notifications: + recipients: + - siraaj@khandkar.net + +language: + erlang + +otp_release: + - 18.0 + - 17.5 + - 17.0 + - R16B02 + +script: + "make travis_ci" diff --git a/Makefile b/Makefile index 6e99797..9c15970 100644 --- 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: diff --git a/README.md b/README.md index 8c1ec4c..ef77774 100644 --- 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 ========== -- 2.20.1