travis: Added --output-on-failure to ctest
This commit is contained in:
parent
887d04363c
commit
5f32927b63
1 changed files with 1 additions and 7 deletions
|
@ -135,7 +135,7 @@ script:
|
|||
- |
|
||||
if [ "${TESTS:-ON}" = "ON" ]; then
|
||||
TERM=dumb cmake --build . --target criterion_tests -- -j4
|
||||
ctest
|
||||
ctest --output-on-failure
|
||||
else
|
||||
TERM=dumb cmake --build . -- -j4
|
||||
fi
|
||||
|
@ -147,12 +147,6 @@ after_success:
|
|||
bash <(curl -s https://codecov.io/bash)
|
||||
fi
|
||||
|
||||
after_failure:
|
||||
- |
|
||||
if [ "${TESTS:-ON}" = "ON" ]; then
|
||||
cat Testing/Temporary/LastTest.log samples/*.{out,err} ../samples/tests/*.{out,err}
|
||||
fi
|
||||
|
||||
before_deploy:
|
||||
- make install
|
||||
- tar -cvjf criterion-${TRAVIS_TAG}-${TRAVIS_OS_NAME}-x86_64.tar.bz2 criterion-${TRAVIS_TAG}
|
||||
|
|
Loading…
Add table
Reference in a new issue