Skip to content

Commit 1eaced9

Browse files
committed
Travis CI: Update config from rabbitmq-common
1 parent bc12ba0 commit 1eaced9

File tree

1 file changed

+13
-17
lines changed

1 file changed

+13
-17
lines changed

.travis.yml

+13-17
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# vim:sw=2:et:
22

3+
os: linux
34
dist: xenial
4-
sudo: false
5-
language: erlang
5+
language: elixir
66
notifications:
77
email:
88
recipients:
@@ -20,22 +20,18 @@ env:
2020
- secure: nibXH/qEVpheE1+M5U1cY/rKuv820TxpV/97pstEUDb5Fk5p8s3WZn4kG1BP5jtFozWtsAUNIjGlbJTTaDn4YnIFjxDBoPPO8IbgFWRnukuUd/v6phCunDrBx4u5oDyaNN0VJv5/c2jpl92kYaVs5cEbKTOag67DOy2D7rPWl+E=
2121
- secure: OhWqYiQ/+X4pQxFDiuh5QRHUhhR9+btzXDc5jjh5LQw9t7KHDiR3k5SrN1/x5Z/sGp1cUKz7tQkz5dkjTRo4wJCEgg3iFaTSGi/5t2n2KlJVJ3sxEs+Q/dCc2VNCx50bjYs64q4BH/sKDEthDp1LXRG7/DcRVfz28t4HJe7/P9I=
2222

23+
# $base_rmq_ref is used by rabbitmq-components.mk to select the
24+
# appropriate branch for dependencies.
25+
- base_rmq_ref=master
26+
27+
elixir:
28+
- '1.9'
2329
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+
- mix local.hex --force
3935

4036
script:
4137
- make xref

0 commit comments

Comments
 (0)