From 721a0c5822d37807ad7d2b558bbf106881141dec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Bylica?= Date: Tue, 2 Apr 2019 14:27:18 +0200 Subject: [PATCH] CI: Run ctest tests in parallel, in random order --- .travis.yml | 2 +- appveyor.yml | 2 +- circle.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4e0ceca..c4243b3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,4 +20,4 @@ install: - cmake --build . --config Release --target install script: - - cmake --build . --config Release --target RUN_TESTS + - ctest -C Release -j4 --schedule-random --output-on-failure diff --git a/appveyor.yml b/appveyor.yml index e6c9373..05e9b43 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -54,5 +54,5 @@ build_script: after_build: - ps: >- if ($env:GENERATOR) { - cmake --build . --config $env:CONFIGURATION --target RUN_TESTS + ctest -C $env:CONFIGURATION -j4 --schedule-random --output-on-failure } diff --git a/circle.yml b/circle.yml index 4f84ace..89474d4 100644 --- a/circle.yml +++ b/circle.yml @@ -41,7 +41,7 @@ jobs: command: cmake --build ~/build - run: name: "Test" - command: cmake --build ~/build --target test + command: cmake --build ~/build --target test -- ARGS="-j4 --schedule-random --output-on-failure" - run: name: "Install" command: cmake --build ~/build --target install