Skip to content

Commit

Permalink
Update path where the local version of cmake lives.
Browse files Browse the repository at this point in the history
This should fix the Travis CI build in PR mmp#118.
  • Loading branch information
mmp committed Mar 5, 2017
1 parent 2401e3a commit 0509bf8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ install:
- echo 2 | sudo update-alternatives --config gcc
- |
CMAKE_URL="http://www.cmake.org/files/v3.5/cmake-3.5.2-Linux-x86_64.tar.gz"
mkdir ${TRAVIS_BUILD_DIR}/cmake && travis_retry wget --no-check-certificate --quiet -O - ${CMAKE_URL} | tar --strip-components=1 -xz -C ${TRAVIS_BUILD_DIR}/cmake
export PATH=${TRAVIS_BUILD_DIR}/cmake/bin:${PATH}
mkdir ${TRAVIS_BUILD_DIR}/cmake-local && travis_retry wget --no-check-certificate --quiet -O - ${CMAKE_URL} | tar --strip-components=1 -xz -C ${TRAVIS_BUILD_DIR}/cmake-local
export PATH=${TRAVIS_BUILD_DIR}/cmake-local/bin:${PATH}
after_install:
- g++ --version
script:
Expand Down

0 comments on commit 0509bf8

Please sign in to comment.