diff options
author | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2019-12-22 17:05:14 +0100 |
---|---|---|
committer | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2019-12-23 16:59:19 +0100 |
commit | e718370bc01b69ef032352807a793943f68817a4 (patch) | |
tree | d1982d1bd03cc0c28c284736dfddba9c7b133344 /.travis.yml | |
parent | b52caa56530226e21b919730dfb9556833a0d9ac (diff) |
.travis.yml: Install latest CMake version via pip
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 6a29b9ae6b..b36b2603e3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -55,8 +55,9 @@ jobs: # Ubuntu Xenial build prerequisites env: CMAKEFLAGS_EXTRA="-DLOCALECOMPARE=ON" before_install: - - sudo apt-get install -y cmake - export CMAKE_BUILD_PARALLEL_LEVEL="$(nproc)" + - export PATH="$HOME/.local/bin:$PATH" + - pip install --user cmake - cmake --version - ccache -s install: @@ -64,7 +65,7 @@ jobs: - cd cmake_build - cmake -L $CMAKEFLAGS $CMAKEFLAGS_EXTRA .. - cmake --build . - - sudo cmake --build . --target install + - sudo env "PATH=$PATH" cmake --build . --target install script: # Run tests and benchmarks - cmake --build . --target test |