- Commit
- 78c60ec7977c35c442f537d72cf4e96375c069f1
- Parent
- dbfe3fae72eef02f0689f7e5962ca04a8d395c21
- Author
- John MacFarlane <jgm@berkeley.edu>
- Date
Travis: install more recent cmake on linux.
My personal build of CMark ✏️
Travis: install more recent cmake on linux.
1 file changed, 14 insertions, 0 deletions
Status | File Name | N° Changes | Insertions | Deletions |
Modified | .travis.yml | 14 | 14 | 0 |
diff --git 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