aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorMike McQuaid2016-12-03 14:45:50 +0000
committerMike McQuaid2016-12-03 14:45:50 +0000
commit94580a6cff580d36d4a1fa932df5b9a9df5500c3 (patch)
tree20a4e29242e908dc30684bef7d9cd89cf4b66ce6 /.travis.yml
parentbc9d3afd6ed0da795148c8f31fc1d8e5167eed35 (diff)
downloadbrew-94580a6cff580d36d4a1fa932df5b9a9df5500c3.tar.bz2
travis.yml: enable macOS builds again.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml20
1 files changed, 16 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index ecfad5326..1cc076b3c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,11 +1,23 @@
language: ruby
-rvm: 2.0.0
-os: linux
+
+matrix:
+ include:
+ - os: osx
+ osx_image: xcode8.0
+ rvm: system
+ - os: linux
+ rvm: 2.0.0
before_install:
- export HOMEBREW_DEVELOPER=1
- - export PATH="bin:$PATH"
- - umask 022
+ - if [ "${TRAVIS_OS_NAME}" = "osx" ]; then
+ HOMEBREW_REPOSITORY="$(brew --repo)";
+ sudo rm -rf "$HOMEBREW_REPOSITORY";
+ ln -s "$PWD" "$HOMEBREW_REPOSITORY";
+ else
+ export PATH="$PWD/bin:$PATH";
+ umask 022;
+ fi
script:
- brew test-bot