Travis CI: Update config from rabbitmq-common

This commit is contained in:
Jean-Sébastien Pédron 2020-03-04 11:17:13 +01:00
parent 9900030ac9
commit 03d739bbea
1 changed files with 13 additions and 17 deletions

View File

@ -1,8 +1,8 @@
# vim:sw=2:et:
os: linux
dist: xenial
sudo: false
language: erlang
language: elixir
notifications:
email:
recipients:
@ -20,22 +20,18 @@ env:
- secure: IRKRVDsvD0owEKM2GDKvuk5zSQJa+Z0Iu4JQuK78BBLTcmjVmWhHsaE1H9hwzCpWwC2yaMz/2C5GEEaK/ET1XnY48UvuihGWxpMnzbzhYuEx6CRSa9Ka7ik2LCP1lZ+t6OxBXT07PdJ2Ib3hPXcxgRHgOEAHfJ9gmMHgG9vrbiI=
- secure: SffTvt5GWsNq/Nc5epFn5ODIbnn17AkEUsrf3LQc8huKdN92x2v5rSrGgJAPN7WCRW1VPmlgwMF0tj6uY+oSKI+sotWb+dPdCyuXh/z4JhxX+S/ui4ItgbfD6DAui+eLXZxkvzGyv4NJ85aKhj5y8ztSqD7Fgeg0jErZwbNg6y0=
otp_release:
- "21.3"
# $base_rmq_ref is used by rabbitmq-components.mk to select the
# appropriate branch for dependencies.
- base_rmq_ref=master
before_script:
- elixir --version
# 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, 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 v3.8.x:v3.8.x || :
git fetch upstream master:master || :
elixir:
- '1.9'
otp_release:
- '21.3'
- '22.2'
install:
- mix local.hex --force
script:
- make xref