aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml11
1 files changed, 6 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
index 8ff810d..eba74f0 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -24,10 +24,11 @@ cache:
install:
- pip install conan
- conan user
+ - wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | sudo apt-key add -
+ - sudo apt-add-repository 'deb https://apt.kitware.com/ubuntu/ bionic main'
+ - sudo apt-get update
+ - sudo apt-get install cmake
script:
- - mkdir -p build
- - cd build
- - cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_TESTING=YES -DRUN_TESTS_AFTER_BUILD=YES -DENABLE_CODE_COVERAGE=YES -DPRINT_COVERAGE_REPORT=YES ..
- - cmake --build . --target all
- - ctest
+ - /usr/bin/cmake -S . -B build -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_TESTING=YES -DRUN_TESTS_AFTER_BUILD=YES -DENABLE_CODE_COVERAGE=YES -DPRINT_COVERAGE_REPORT=YES ..
+ - /usr/bin/cmake --build build --target all --parallel $(nproc)