diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2020-02-29 12:41:19 +0100 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2020-02-29 12:41:19 +0100 |
| commit | 4ccf8aabdef2be5d52a91b24dd2e026dce85cdeb (patch) | |
| tree | a8cbd7e88dbdc752208eb79047225fdb0822ea47 | |
| parent | e24b0c0affba86ce6953fc33e43e8382b92f4daf (diff) | |
| download | newtype-4ccf8aabdef2be5d52a91b24dd2e026dce85cdeb.tar.xz newtype-4ccf8aabdef2be5d52a91b24dd2e026dce85cdeb.zip | |
ci: upgrade cmake
| -rw-r--r-- | .travis.yml | 11 |
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) |
