Skip to content
This repository has been archived by the owner on Oct 14, 2023. It is now read-only.

Commit

Permalink
chore(.appveyor.yml,.travis.yml): invoke ctest with --output-on-failure
Browse files Browse the repository at this point in the history
  • Loading branch information
Kha committed Mar 27, 2017
1 parent 58d5802 commit ef0141e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ build_script:
- C:\msys64\usr\bin\bash -lc "exec 0</dev/null && cd $APPVEYOR_BUILD_FOLDER/build && ninja && cpack"

test_script:
- C:\msys64\usr\bin\bash -lc "exec 0</dev/null && cd $APPVEYOR_BUILD_FOLDER/build && ctest -j4"
- C:\msys64\usr\bin\bash -lc "exec 0</dev/null && cd $APPVEYOR_BUILD_FOLDER/build && ctest -j4 --output-on-failure"

artifacts:
- path: build\lean-3.1.1-windows.zip
Expand Down
2 changes: 1 addition & 1 deletion .appveyor.yml.in
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ build_script:
- C:\msys64\usr\bin\bash -lc "exec 0</dev/null && cd $APPVEYOR_BUILD_FOLDER/build && ninja && cpack"

test_script:
- C:\msys64\usr\bin\bash -lc "exec 0</dev/null && cd $APPVEYOR_BUILD_FOLDER/build && ctest -j4"
- C:\msys64\usr\bin\bash -lc "exec 0</dev/null && cd $APPVEYOR_BUILD_FOLDER/build && ctest -j4 --output-on-failure"

artifacts:
- path: build\lean-@LEAN_VERSION_MAJOR@.@LEAN_VERSION_MINOR@.@[email protected]
Expand Down
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@ script:
- cpack
# TODO(gabriel): add smaller test subset for debug and emscripten builds
- if [[ $CMAKE_BUILD_TYPE == Release ]]; then
yes "A" | ctest -j2;
yes "A" | ctest -j2 --output-on-failure;
else
yes "A" | ctest -j2 -I 100,600,10;
yes "A" | ctest -j2 -I 100,600,10 --output-on-failure;
fi
- if [[ $PACKAGE == TRUE ]]; then make package; fi
- cd ..
Expand Down
4 changes: 2 additions & 2 deletions .travis.yml.in
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@ script:
- cpack
# TODO(gabriel): add smaller test subset for debug and emscripten builds
- if [[ $CMAKE_BUILD_TYPE == Release ]]; then
yes "A" | ctest -j2;
yes "A" | ctest -j2 --output-on-failure;
else
yes "A" | ctest -j2 -I 100,600,10;
yes "A" | ctest -j2 -I 100,600,10 --output-on-failure;
fi
- if [[ $PACKAGE == TRUE ]]; then make package; fi
- cd ..
Expand Down

0 comments on commit ef0141e

Please sign in to comment.