Skip to content
This repository was archived by the owner on Nov 17, 2020. It is now read-only.

Commit 0db7687

Browse files
committed
Travis CI: Update config from rabbitmq-common
1 parent f2b7cbd commit 0db7687

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.travis.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,20 @@ otp_release:
3636
- '22.2'
3737

3838
install:
39-
- mix local.hex --force
39+
# This project being an Erlang one (we just set language to Elixir
40+
# to ensure it is installed), we don't want Travis to run mix(1)
41+
# automatically as it will break.
42+
skip
4043

4144
script:
45+
# $current_rmq_ref is also used by rabbitmq-components.mk to select
46+
# the appropriate branch for dependencies.
47+
- make check-rabbitmq-components.mk
48+
current_rmq_ref="${TRAVIS_PULL_REQUEST_BRANCH:-${TRAVIS_BRANCH}}"
4249
- make xref
50+
current_rmq_ref="${TRAVIS_PULL_REQUEST_BRANCH:-${TRAVIS_BRANCH}}"
4351
- make tests
52+
current_rmq_ref="${TRAVIS_PULL_REQUEST_BRANCH:-${TRAVIS_BRANCH}}"
4453

4554
after_failure:
4655
- |

0 commit comments

Comments
 (0)