diff options
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 |