diff --git a/.travis.yml b/.travis.yml index 634360f..b9d7ab3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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