Travis CI: Update config from rabbitmq-common

This commit is contained in:
Jean-Sébastien Pédron 2020-03-04 14:24:26 +01:00
parent 58a911cdd2
commit 18f6f57e10
1 changed files with 10 additions and 1 deletions

View File

@ -31,11 +31,20 @@ otp_release:
- '22.2'
install:
- mix local.hex --force
# This project being an Erlang one (we just set language to Elixir
# to ensure it is installed), we don't want Travis to run mix(1)
# automatically as it will break.
skip
script:
# $current_rmq_ref is also used by rabbitmq-components.mk to select
# the appropriate branch for dependencies.
- make check-rabbitmq-components.mk
current_rmq_ref="${TRAVIS_PULL_REQUEST_BRANCH:-${TRAVIS_BRANCH}}"
- make xref
current_rmq_ref="${TRAVIS_PULL_REQUEST_BRANCH:-${TRAVIS_BRANCH}}"
- make tests
current_rmq_ref="${TRAVIS_PULL_REQUEST_BRANCH:-${TRAVIS_BRANCH}}"
after_failure:
- |