aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..f3ed80c
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,25 @@
+language: elixir
+
+otp_release:
+ - 20.0
+elixir:
+ - 1.5
+
+cache:
+ directories:
+ - /home/travis/.rvm/
+
+sudo: false
+
+env:
+ global:
+ - MIX_ENV=test
+ - PULL_REQUEST_ID=$TRAVIS_PULL_REQUEST
+
+before_script:
+ - rvm install ruby-2.3.1
+ - gem install pronto-credo
+
+script:
+ - if [ $PULL_REQUEST_ID != false ]; then pronto run -f github_pr; fi
+ - mix coveralls.travis