Skip to content

Commit

Permalink
ci: dump failure details on test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
liamstask authored and gdamore committed Mar 7, 2018
1 parent 43c137b commit 0432fed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:
- run:
name: Run Tests
command: cd build && ninja test
environment:
CTEST_OUTPUT_ON_FAILURE: 1

# - run:
# name: Check Format
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ script:
- cd build
- cmake -G Ninja -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DNNG_ENABLE_COVERAGE=${COVERAGE:-OFF} ..
- ninja
- ninja test
- env CTEST_OUTPUT_ON_FAILURE=1 ninja test
- env CLANG_FORMAT=${CLANG_FORMAT:-no} ../etc/format-check.sh

after_success:
Expand Down

0 comments on commit 0432fed

Please sign in to comment.