travis: Added --output-on-failure to ctest

This commit is contained in:
Snaipe 2016-04-22 00:16:53 +02:00
parent 887d04363c
commit 5f32927b63

View file

@ -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}