From 78c60ec7977c35c442f537d72cf4e96375c069f1 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 23 Jun 2016 10:21:19 -0700 Subject: Travis: install more recent cmake on linux. --- .travis.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 059a53d..f828a9b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,6 +23,20 @@ before_install: then echo "Building without python3, to make sure that works." fi + - | + 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 + script: - make - make test -- cgit v1.2.3