parent
aeea791bf1
commit
388a27b682
|
|
@ -1,29 +1,7 @@
|
|||
language: erlang
|
||||
otp_release:
|
||||
- "R16B03-1"
|
||||
- "17.5"
|
||||
- "18.3"
|
||||
- "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:
|
||||
# Run the testsuite. This automatically includes the download of
|
||||
# dependencies and the build of everything.
|
||||
- make tests
|
||||
# vim:sw=2:et:
|
||||
|
||||
sudo: false
|
||||
language: erlang
|
||||
notifications:
|
||||
email:
|
||||
- alerts@rabbitmq.com
|
||||
|
|
@ -33,3 +11,25 @@ addons:
|
|||
- xsltproc
|
||||
cache:
|
||||
apt: true
|
||||
|
||||
otp_release:
|
||||
- "R16B03-1"
|
||||
- "19.3"
|
||||
- "20.1"
|
||||
|
||||
before_script:
|
||||
# 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.
|
||||
- |
|
||||
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 xref
|
||||
- make tests
|
||||
|
|
|
|||
Loading…
Reference in New Issue