summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Holthuis <jan.holthuis@ruhr-uni-bochum.de>2020-01-05 17:48:00 +0100
committerJan Holthuis <jan.holthuis@ruhr-uni-bochum.de>2020-01-05 22:30:27 +0100
commitd4561dcb35a99542ca3c64f0f38d8f434a5f7c30 (patch)
tree88368229173f7fe58e79c6f1d18c3bc8a018a967
parent3e84182c265bb23ae4fd1511cdd1d2aed8c31d73 (diff)
.travis.yml: Use parallel tests for CMake builds
-rw-r--r--.travis.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index b36b2603e3..2fa4c56a6f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -56,6 +56,7 @@ jobs:
env: CMAKEFLAGS_EXTRA="-DLOCALECOMPARE=ON"
before_install:
- export CMAKE_BUILD_PARALLEL_LEVEL="$(nproc)"
+ - export CTEST_PARALLEL_LEVEL="$(nproc)"
- export PATH="$HOME/.local/bin:$PATH"
- pip install --user cmake
- cmake --version
@@ -68,7 +69,7 @@ jobs:
- sudo env "PATH=$PATH" cmake --build . --target install
script:
# Run tests and benchmarks
- - cmake --build . --target test
+ - ctest
- cmake --build . --target benchmark
- name: OSX/clang/SCons build
@@ -123,6 +124,7 @@ jobs:
CMAKEFLAGS_EXTRA="-DLOCALECOMPARE=OFF -DCMAKE_PREFIX_PATH=/usr/local/opt/qt5/"
DISPLAY=:99.0
CMAKE_BUILD_PARALLEL_LEVEL=4
+ CTEST_PARALLEL_LEVEL=4
before_install:
- brew install ccache
- export PATH="/usr/local/opt/ccache/bin:$PATH"
@@ -136,7 +138,7 @@ jobs:
- sudo cmake --build . --target install
script:
# Run tests and benchmarks
- - cmake --build . --target test
+ - ctest
- cmake --build . --target benchmark
before_cache:
# Avoid indefinite cache growth