Update version of cmake causing trouble

This commit is contained in:
AurelienUoU 2019-06-03 10:21:24 -06:00
parent 7368e6d7e4
commit 4523bd21e9
1 changed files with 12 additions and 0 deletions

View File

@ -79,6 +79,18 @@ before_install:
- source .travis/common.sh - source .travis/common.sh
install: install:
- DEPS_DIR="${HOME}/deps"
- mkdir -p ${DEPS_DIR} && cd ${DEPS_DIR}
- |
if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then
CMAKE_URL="https://cmake.org/files/v3.13/cmake-3.13.0-rc3-Linux-x86_64.tar.gz"
mkdir cmake && travis_retry wget --no-check-certificate --quiet -O - ${CMAKE_URL} | tar --strip-components=1 -xz -C cmake
export PATH=${DEPS_DIR}/cmake/bin:${PATH}
echo ${PATH}
else
brew install cmake || brew upgrade cmake
fi
- cmake --version
- .travis/install.sh - .travis/install.sh
script: script: