travis-before-install.sh 399 B

12345678910111213141516
  1. #/bin/sh -f
  2. # things to do for travis-ci in the before_install section
  3. if ( test "`uname -s`" = "Darwin" )
  4. then
  5. #cmake v2.8.12 is installed on the Mac workers now
  6. #brew update
  7. #brew install cmake
  8. echo
  9. else
  10. #install a newer cmake since at this time Travis only has version 2.8.7
  11. sudo add-apt-repository --yes ppa:kalakris/cmake
  12. sudo apt-get update -qq
  13. sudo apt-get install cmake
  14. fi