Travis CI: Update config from rabbitmq-common

This commit is contained in:
Jean-Sébastien Pédron 2017-12-15 14:45:28 +01:00
parent 93e62136b5
commit e3d588ec7f
1 changed files with 2 additions and 2 deletions

View File

@ -32,12 +32,12 @@ before_script:
# 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.7.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.7.x:v3.7.x || :
git fetch upstream master:master || :
# Make sure we use Elixir from Erlang Solutions and not kiex.
- |