mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-03 17:56:43 -05:00
TravisCI: performance - use the default CMake version on CI images
This commit is contained in:
parent
f828c55ec7
commit
ecff9e623c
14
.travis.yml
14
.travis.yml
@ -347,20 +347,6 @@ install:
|
||||
# Travis machines have 2 cores
|
||||
- JOBS=2
|
||||
|
||||
############################################################################
|
||||
# Install a recent CMake (unless already installed on OS X)
|
||||
############################################################################
|
||||
- CMAKE_VERSION=3.7.2
|
||||
- |
|
||||
if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then
|
||||
CMAKE_URL="https://cmake.org/files/v${CMAKE_VERSION%.[0-9]}/cmake-${CMAKE_VERSION}-Linux-x86_64.tar.gz"
|
||||
mkdir cmake && travis_retry wget --no-check-certificate -O - ${CMAKE_URL} | tar --strip-components=1 -xz -C cmake
|
||||
export PATH=${DEPS_DIR}/cmake/bin:${PATH}
|
||||
else
|
||||
brew install cmake || brew upgrade cmake
|
||||
fi
|
||||
- cmake --version
|
||||
|
||||
############################################################################
|
||||
# [linux]: Install the right version of libc++
|
||||
############################################################################
|
||||
|
Loading…
Reference in New Issue
Block a user