Skip to content

Commit 2f81929

Browse files
committed
Travis: install more recent cmake on linux.
1 parent 019b88a commit 2f81929

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.travis.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,20 @@ before_install:
2323
then
2424
echo "Building without python3, to make sure that works."
2525
fi
26+
- |
27+
if ( test "`uname -s`" = "Darwin" )
28+
then
29+
#cmake v2.8.12 is installed on the Mac workers now
30+
#brew update
31+
#brew install cmake
32+
echo
33+
else
34+
#install a newer cmake since at this time Travis only has version 2.8.7
35+
echo "yes" | sudo add-apt-repository ppa:kalakris/cmake
36+
sudo apt-get update -qq
37+
sudo apt-get install cmake
38+
fi
39+
2640
script:
2741
- make
2842
- make test

0 commit comments

Comments
 (0)