diff options
author | Christian Beier <dontmind@freeshell.org> | 2017-01-29 18:04:08 +0100 |
---|---|---|
committer | Christian Beier <dontmind@freeshell.org> | 2017-01-29 18:04:08 +0100 |
commit | 6935d69e852045b30fe41aeeb9f6d2f01aa55b99 (patch) | |
tree | d637d14b1c40ae8ea46bbedb3e91b771ae691e1e | |
parent | 05c6c6deaca39c09a5af97d23ee5eed03e15b0d3 (diff) | |
download | libtdevnc-6935d69e852045b30fe41aeeb9f6d2f01aa55b99.tar.gz libtdevnc-6935d69e852045b30fe41aeeb9f6d2f01aa55b99.zip |
TravisCI: install a newer CMake on Linux
-rw-r--r-- | .travis.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index e723a63..3b1f1b5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,6 +12,12 @@ compiler: before_install: - 'if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export CFLAGS="-I/usr/local/opt/openssl/include $CFLAGS" LDFLAGS="-L/usr/local/opt/openssl/lib $LDFLAGS"; fi' +- | + if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then + CMAKE_URL="http://www.cmake.org/files/v3.7/cmake-3.7.2-Linux-x86_64.tar.gz" + mkdir -p ${TRAVIS_BUILD_DIR}/deps/cmake && travis_retry wget --quiet -O - ${CMAKE_URL} | tar --strip-components=1 -xz -C ${TRAVIS_BUILD_DIR}/deps/cmake + export PATH=${TRAVIS_BUILD_DIR}/deps/cmake/bin:${PATH} + fi # Build steps script: |