|
1 | 1 | # vim:sw=2:et: |
2 | 2 |
|
| 3 | +os: linux |
3 | 4 | dist: xenial |
4 | | -sudo: false |
5 | | -language: erlang |
| 5 | +language: elixir |
6 | 6 | notifications: |
7 | 7 | email: |
8 | 8 | recipients: |
|
20 | 20 | - secure: E4FIneR14YxnWbNNgFY48+Z8YpnwWcvIR0nD1Mo06WKXaq05UfQNQ7SZCjI3kKCNJGMhac12DFRhln+mQZ+T92MQ7IeU3ugpV5RSm+JqIwwIKzVM3+bjCQnFoL24OD4E+GjhJQWYQmPyM7l4OPluMr2N8BtANItgzX3AvljvlSc= |
21 | 21 | - secure: L1t0CHGR4RzOXwtkpM6feRKax95rszScBLqzjstEiMPkhjTsYTlAecnNxx6lTrGMnk5hQoi4PtbhmyZOX0siHTngTogoA/Nyn8etYzicU5ZO+qmBQOYpegz51lEu70ewXgkhEHzk9DtEPxfYviH9WiILrdUVRXXgZpoXq13p1QA= |
22 | 22 |
|
| 23 | + # $base_rmq_ref is used by rabbitmq-components.mk to select the |
| 24 | + # appropriate branch for dependencies. |
| 25 | + - base_rmq_ref=v3.8.x |
| 26 | + |
| 27 | +elixir: |
| 28 | + - '1.9' |
23 | 29 | otp_release: |
24 | | - - "21.3" |
25 | | - |
26 | | -before_script: |
27 | | - - elixir --version |
28 | | - # The checkout made by Travis is a "detached HEAD" and branches |
29 | | - # information is missing. Our Erlang.mk's git_rmq fetch method relies |
30 | | - # on it, so we need to restore it. |
31 | | - # |
32 | | - # We simply fetch master and, if it exists, v3.8.x branches. A branch |
33 | | - # is created, pointing to the detached HEAD. |
34 | | - - | |
35 | | - git checkout -B "${TRAVIS_TAG:-${TRAVIS_BRANCH}}" |
36 | | - git remote add upstream https://github.com/$TRAVIS_REPO_SLUG.git |
37 | | - git fetch upstream v3.8.x:v3.8.x || : |
38 | | - git fetch upstream master:master || : |
| 30 | + - '21.3' |
| 31 | + - '22.2' |
| 32 | + |
| 33 | +install: |
| 34 | + # This project being an Erlang one (we just set language to Elixir |
| 35 | + # to ensure it is installed), we don't want Travis to run mix(1) |
| 36 | + # automatically as it will break. |
| 37 | + skip |
39 | 38 |
|
40 | 39 | script: |
| 40 | + # $current_rmq_ref is also used by rabbitmq-components.mk to select |
| 41 | + # the appropriate branch for dependencies. |
| 42 | + - make check-rabbitmq-components.mk |
| 43 | + current_rmq_ref="${TRAVIS_PULL_REQUEST_BRANCH:-${TRAVIS_BRANCH}}" |
41 | 44 | - make xref |
| 45 | + current_rmq_ref="${TRAVIS_PULL_REQUEST_BRANCH:-${TRAVIS_BRANCH}}" |
42 | 46 | - make ct-fast |
| 47 | + current_rmq_ref="${TRAVIS_PULL_REQUEST_BRANCH:-${TRAVIS_BRANCH}}" |
43 | 48 |
|
44 | 49 | after_failure: |
45 | 50 | - | |
|
0 commit comments