Last active
May 25, 2017 01:10
-
-
Save winterz/10cc2741d466cbd8ff21 to your computer and use it in GitHub Desktop.
travis CI setup script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/bin/sh -f | |
# things to do for travis-ci in the before_install section | |
if ( test "`uname -s`" = "Darwin" ) | |
then | |
#cmake v2.8.12 is installed on the Mac workers now | |
#brew update | |
#brew install cmake | |
echo | |
else | |
#install a newer cmake since at this time Travis only has version 2.8.7 | |
echo "yes" | sudo add-apt-repository ppa:kalakris/cmake | |
sudo apt-get update -qq | |
sudo apt-get install cmake | |
fi |
Thank-you, it solves my problem with object libraries.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
cool thanks :-) for the snippet