From 41b94e1d82d924499d3c3f132d84502a9f3c7960 Mon Sep 17 00:00:00 2001 From: Daniel Perez Date: Sun, 3 Jan 2016 19:12:31 +0100 Subject: [PATCH] Add OSX ci. --- .travis.yml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index fd29abc..81b6206 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,17 @@ sudo: required before_install: - - sudo add-apt-repository -y ppa:fish-shell/release-2 - - sudo apt-get update - - sudo apt-get -y install fish + - > + if [[ $TRAVIS_OS_NAME = "linux" ]]; then + sudo add-apt-repository -y ppa:fish-shell/release-2 + sudo apt-get update + sudo apt-get -y install fish + else + brew update + brew install fish + fi + - fish --version script: - make && fish -c "fisher install fishtape; fishtape test/*.fish" +os: + - linux + - osx