1
0
Fork 0
forked from suyu/suyu

travis: Install cmake 3.1

This commit is contained in:
Sam Spilsbury 2016-04-25 09:40:12 +08:00
parent 656a442433
commit 599dc2bbb5

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/v2.8/cmake-2.8.11-Linux-i386.tar.gz \
curl -L http://www.cmake.org/files/v3.1/cmake-3.1.0-Linux-i386.tar.gz \
| tar -xz -C $HOME/.local --strip-components=1
(
@ -20,6 +20,7 @@ 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 install qt5 sdl2 dylibbundler
brew unlink cmake
brew install cmake31 qt5 sdl2 dylibbundler
gem install xcpretty
fi