summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml24
1 files changed, 24 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000000..6d9dbc0b71
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,24 @@
+sudo: false
+language: erlang
+notifications:
+ email:
+ - alerts@rabbitmq.com
+addons:
+ apt:
+ packages:
+ - xsltproc
+otp_release:
+ - "R16B03-1"
+ - "17.5"
+ - "18.0"
+
+# The checkout made by Travis is a "detached HEAD". We switch back
+# to a tag or a branch. This pleases our git_rmq fetch method in
+# rabbitmq-components.mk and the proper tag/branch is selected in
+# dependencies too.
+before_script: (test "$TRAVIS_TAG" && git checkout "$TRAVIS_TAG") || (test "$TRAVIS_BRANCH" && git checkout "$TRAVIS_BRANCH")
+
+script: travis_wait make tests
+
+cache:
+ apt: true