aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralisdair sullivan <[email protected]>2017-02-05 18:40:59 -0800
committerLuis Rascao <[email protected]>2017-05-15 16:43:41 +0100
commitb136ca3d22d3c81f9d0d2ea91eb282e3a4639920 (patch)
tree490b52d2cf0c9551bb8e401b36907ca2d86e15b7
parent4efd1176c71116d52bc64dae7466d5c03935dd91 (diff)
downloadrelx-b136ca3d22d3c81f9d0d2ea91eb282e3a4639920.tar.gz
relx-b136ca3d22d3c81f9d0d2ea91eb282e3a4639920.tar.bz2
relx-b136ca3d22d3c81f9d0d2ea91eb282e3a4639920.zip
add osx configuration to .travis.yml
-rw-r--r--.travis.yml31
1 files changed, 24 insertions, 7 deletions
diff --git a/.travis.yml b/.travis.yml
index ce1ef9b..7164db4 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,12 +1,29 @@
language: erlang
-sudo: required
-otp_release:
- - 19.1
- - 18.3
- - 17.0
- - R16B03-1
- - R15B03
+matrix:
+ include:
+ - os: linux
+ sudo: required
+ otp_release: R15B03
+ - os: linux
+ sudo: required
+ otp_release: R16B03-1
+ - os: linux
+ sudo: required
+ otp_release: 17.5
+ - os: linux
+ sudo: required
+ otp_release: 18.3
+ - os: linux
+ sudo: required
+ otp_release: 19.2
+ - os: osx
+ sudo: required
+ language: generic
before_script:
+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
+ ## should eventually use a tap that has previous erlang versions here
+ ## as this only uses the latest erlang available via brew
+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install erlang; fi
- wget https://s3.amazonaws.com/rebar3/rebar3
- chmod +x rebar3
script: "./rebar3 update && ./rebar3 ct"