Update .travis-deps.sh to use CMake 3.5

This commit is contained in:
Dragios 2016-05-12 09:56:28 +08:00
parent f6eb62d062
commit f626401e6d

View file

@ -9,7 +9,7 @@ if [ "$TRAVIS_OS_NAME" = "linux" -o -z "$TRAVIS_OS_NAME" ]; then
export CXX=g++-5
mkdir -p $HOME/.local
curl -L http://www.cmake.org/files/v3.1/cmake-3.1.0-Linux-i386.tar.gz \
curl -L http://www.cmake.org/files/v3.5/cmake-3.5.2-Linux-i386.tar.gz \
| tar -xz -C $HOME/.local --strip-components=1
(
@ -21,6 +21,6 @@ if [ "$TRAVIS_OS_NAME" = "linux" -o -z "$TRAVIS_OS_NAME" ]; then
elif [ "$TRAVIS_OS_NAME" = "osx" ]; then
brew update > /dev/null # silence the very verbose output
brew unlink cmake
brew install cmake31 qt5 sdl2 dylibbundler
brew install cmake35 qt5 sdl2 dylibbundler
gem install xcpretty
fi