diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2017-03-22 22:38:14 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-22 22:38:14 -0400 |
commit | 7a86c59aeebe50806190194260c7f5b1045ea195 (patch) | |
tree | dd8e009e04734e712335ad9c2145d1f59ca82185 | |
parent | 63c228de169ad4914174b9401a12358b7c3c6da4 (diff) | |
parent | ba0d3db9f948e69f291c836c3ff7f6237ce79dc4 (diff) |
Merge pull request #1471 from talentdeficit/travis-osx
update travis.yml to test on osx
-rw-r--r-- | .travis.yml | 31 |
1 files changed, 20 insertions, 11 deletions
diff --git a/.travis.yml b/.travis.yml index ff4a252..8923e86 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,14 +1,24 @@ -sudo: false language: erlang -install: 'true' -otp_release: -- 19.1 -- 18.0 -- 17.5 -- R16B03-1 -- R15B03 -before_script: "./bootstrap" -script: "./rebar3 ct" +matrix: + include: + - os: linux + otp_release: R15B03 + - os: linux + otp_release: R16B03-1 + - os: linux + otp_release: 17.5 + - os: linux + otp_release: 18.3 + - os: linux + otp_release: 19.2 + - os: osx + 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 +script: "./bootstrap && ./rebar3 ct" branches: only: - master @@ -23,7 +33,6 @@ deploy: on: repo: erlang/rebar3 tags: true - - provider: s3 access_key_id: AKIAJAPYAQEFYCYSNL7Q secret_access_key: |