Skip to content

Commit

Permalink
Travis CI: Update config from rabbitmq-common
Browse files Browse the repository at this point in the history
  • Loading branch information
dumbbell committed Apr 10, 2018
1 parent e0a5c9c commit 3d74c53
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .travis.yml
Expand Up @@ -4,7 +4,10 @@ sudo: false
language: erlang
notifications:
email:
- alerts@rabbitmq.com
recipients:
- alerts@rabbitmq.com
on_success: never
on_failure: always
addons:
apt:
sources:
Expand All @@ -15,7 +18,7 @@ addons:
# Use Elixir from Erlang Solutions. The provided Elixir is
# installed with kiex but is old. We also can't use kiex to
# install a newer one because of GitHub API rate limiting.
- elixir=1.4.5-1
- elixir=1.6.0-1
cache:
apt: true
env:
Expand All @@ -25,25 +28,25 @@ env:

otp_release:
- "19.3"
- "20.1"
- "20.3"

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
# We simply fetch master and, if it exists, v3.8.x 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 v3.8.x:v3.8.x || :
git fetch upstream master:master || :
# Make sure we use Elixir from Erlang Solutions and not kiex.
- |
echo YES | kiex implode
elixir --version
elixir --version | grep -q 'Elixir 1.4.5'
elixir --version | grep -q 'Elixir 1.6.0'
script:
- make xref
Expand Down

0 comments on commit 3d74c53

Please sign in to comment.