Updated CMake in Travis configuration for C++17 support.

This commit is contained in:
Patrick Lühne 2017-10-13 17:31:56 +02:00
parent 86486207b8
commit 3fe2886925
Signed by: patrick
GPG Key ID: 05F3611E97A70ABF

View File

@ -25,7 +25,7 @@ matrix:
- g++-6 - g++-6
script: script:
- if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then - if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then
CMAKE_URL="http://www.cmake.org/files/v3.7/cmake-3.7.0-Linux-x86_64.tar.gz"; CMAKE_URL="http://www.cmake.org/files/v3.9/cmake-3.9.4-Linux-x86_64.tar.gz";
mkdir cmake-bin && wget --quiet --no-check-certificate -O - ${CMAKE_URL} | tar --strip-components=1 -xz -C cmake-bin; mkdir cmake-bin && wget --quiet --no-check-certificate -O - ${CMAKE_URL} | tar --strip-components=1 -xz -C cmake-bin;
export PATH=${PWD}/cmake-bin/bin:${PATH}; export PATH=${PWD}/cmake-bin/bin:${PATH};
fi fi