Skip to content

Commit

Permalink
Merge pull request #1471 from talentdeficit/travis-osx
Browse files Browse the repository at this point in the history
update travis.yml to test on osx
  • Loading branch information
ferd authored Mar 23, 2017
2 parents 63c228d + ba0d3db commit 7a86c59
Showing 1 changed file with 20 additions and 11 deletions.
31 changes: 20 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -23,7 +33,6 @@ deploy:
on:
repo: erlang/rebar3
tags: true

- provider: s3
access_key_id: AKIAJAPYAQEFYCYSNL7Q
secret_access_key:
Expand Down

0 comments on commit 7a86c59

Please sign in to comment.