Skip to content

Instantly share code, notes, and snippets.

@janisz
Forked from winterz/setup-travis.sh
Last active August 29, 2015 14:10
Show Gist options
  • Save janisz/4edd06d2d0612cfc5714 to your computer and use it in GitHub Desktop.
Save janisz/4edd06d2d0612cfc5714 to your computer and use it in GitHub Desktop.
#/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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment