Travis CI: Initial configuration, copied from rabbitmq-shovel

This commit is contained in:
Jean-Sébastien Pédron 2016-09-06 12:18:21 +02:00
parent be6b2e3976
commit 1f63315386
1 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,32 @@
sudo: false
language: erlang
notifications:
email:
- alerts@rabbitmq.com
addons:
apt:
packages:
- xsltproc
otp_release:
- "R16B03-1"
- "17.5"
- "18.0"
- "19.0"
# The checkout made by Travis is a "detached HEAD" and branches
# information is missing. Our Erlang.mk's git_rmq fetch method relies on
# it, so we need to restore it.
#
# We simply fetch master and, if it exists, stable branches. A branch is
# created, pointing to the detached HEAD.
before_script:
- |
git checkout -B "${TRAVIS_TAG:-${TRAVIS_BRANCH}}"
git remote add upstream https://github.com/$TRAVIS_REPO_SLUG.git
git fetch upstream stable:stable || :
git fetch upstream master:master || :
script: make tests
cache:
apt: true