Travis: Fix OS X build

Probably due to additional Travis caching, cmake is now already
installed when the script runs. This causes the unlink to remove the
symlink to the executable, which is then not re-added by the install
(since it's already installed).
This commit is contained in:
Yuri Kunde Schlesner 2016-09-20 21:25:15 -07:00
parent 8bf09b5302
commit fcec20c9ff

View file

@ -28,7 +28,6 @@ if [ "$TRAVIS_OS_NAME" = "linux" -o -z "$TRAVIS_OS_NAME" ]; then
fi fi
elif [ "$TRAVIS_OS_NAME" = "osx" ]; then elif [ "$TRAVIS_OS_NAME" = "osx" ]; then
brew update > /dev/null # silence the very verbose output brew update
brew unlink cmake || true
brew install cmake qt5 sdl2 dylibbundler brew install cmake qt5 sdl2 dylibbundler
fi fi