Enable CI on osx

This commit is contained in:
James Dinsdale 2017-01-28 01:08:58 +00:00
parent 5b4c8406c2
commit 193418a283
No known key found for this signature in database
GPG key ID: DBCB56BD98007031

View file

@ -1,7 +1,15 @@
dist: trusty
sudo: required
matrix:
include:
- os: linux
dist: trusty
sudo: required
- os: osx
env: ZSH_SRC=system
- os: osx
env: ZSH_SRC=homebrew
before_script:
- sudo apt-get install zsh
- if [[ "$ZSH_SRC" == "homebrew" ]]; then brew install zsh; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install zsh; fi
- mkdir .bin
- sudo curl -L https://raw.githubusercontent.com/molovo/revolver/master/revolver > .bin/revolver
- sudo curl -L https://raw.githubusercontent.com/molovo/color/master/color.zsh > .bin/color