summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralisdair sullivan <alisdairsullivan@gmail.com>2017-02-05 17:43:16 -0800
committeralisdair sullivan <alisdairsullivan@gmail.com>2017-02-05 18:01:46 -0800
commitba0d3db9f948e69f291c836c3ff7f6237ce79dc4 (patch)
treed0a8a8257c23ed436915a41d6e5ea4fde6161785
parent95ef84953b3f40b83126f00f0746f7918d607315 (diff)
update travis.yml to test on osx
-rw-r--r--.travis.yml31
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: