1
0
mirror of https://github.com/wjwwood/serial.git synced 2026-01-22 19:54:57 +08:00

Travis: Don't install newer CMake version

This commit is contained in:
Dinesh Bolkensteyn 2016-07-18 11:36:35 +02:00
parent 514accad7a
commit d6245ab474

View File

@ -6,18 +6,6 @@ compiler:
- gcc
- clang
install:
############################################################################
# Install a recent CMake (unless already installed on OS X)
# See http://stackoverflow.com/questions/33196136/travis-ci-update-cmake-using-the-packages-cache
############################################################################
- |
if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then
CMAKE_URL="http://www.cmake.org/files/v3.5/cmake-3.5.2-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}
else
if ! brew ls --version cmake &>/dev/null; then brew install cmake; fi
fi
- make install_deps
- source setup.bash
script: