oh-my-fish/tools/travis-install-fish.sh
Bruno Pinto 854493489c Run tests on Travis osx and linux machines
Unfortunately we can't use docker anymore in order to support automatic
build on OSX.
2015-12-23 12:11:56 +00:00

17 lines
321 B
Bash
Executable File

#!/usr/bin/env bash
set -o pipefail
set -o errexit
set -o nounset
#set -o xtrace
# Return if we are not in a Pull Request
if [[ "$TRAVIS_OS_NAME" = "linux" ]]; then
sudo apt-add-repository -y ppa:fish-shell/release-2
sudo apt-get update
sudo apt-get install -y fish
else
brew update
brew install fish tree
fi