summaryrefslogtreecommitdiff
path: root/scripts/setup-travis.sh
diff options
context:
space:
mode:
authorAllen Winter <allen.winter@kdab.com>2019-05-11 12:06:05 -0400
committerAllen Winter <allen.winter@kdab.com>2019-05-11 12:06:05 -0400
commitfeabecaa3e38579aec13b36892cbf9b3111f4457 (patch)
tree2419555e619dc7f2a67eb54b2b847b576c2ea83d /scripts/setup-travis.sh
parent13c6a32bcb064e2e506b9fe2af1d202b61c05fc7 (diff)
downloadlibical-git-feabecaa3e38579aec13b36892cbf9b3111f4457.tar.gz
scripts/setup-travis.sh - install cmake 3.11.0
Diffstat (limited to 'scripts/setup-travis.sh')
-rwxr-xr-xscripts/setup-travis.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/setup-travis.sh b/scripts/setup-travis.sh
index 315ee3b2..85ee2692 100755
--- a/scripts/setup-travis.sh
+++ b/scripts/setup-travis.sh
@@ -2,6 +2,10 @@
# things to do for travis-ci in the before_install section
+# Install a supported cmake version (>= 3.11.0)
+wget -O cmake.sh https://cmake.org/files/v3.11/cmake-3.11.0-Linux-x86_64.sh
+sudo sh cmake.sh --skip-license --exclude-subdir --prefix=/usr/local
+
if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
brew install libxml2
brew install icu4c