From 4ccf8aabdef2be5d52a91b24dd2e026dce85cdeb Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Sat, 29 Feb 2020 12:41:19 +0100 Subject: ci: upgrade cmake --- .travis.yml | 11 ++++++----- 1 file 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) -- cgit v1.2.3