Skip to content

Commit

Permalink
Print runlogs in Travis-CI if any tests fail (#166)
Browse files Browse the repository at this point in the history
* Print runlogs if any tests fail

* Fix typo
  • Loading branch information
anders-dc authored and apcraig committed Feb 12, 2018
1 parent 2bc2c6d commit 48240c0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ notifications:
email: false

after_failure:
- "for runlog in
$(find travis_suite.travisCItest/*.travisCItest/logs/icepack.runlog.*); do
echo \"### Contents of $runlog ###\" && cat $runlog; done"
- "git config --global user.email '[email protected]' &&
git config --global user.name 'ciceconsortium' &&
./report_results.csh --travisCI"
Expand Down

0 comments on commit 48240c0

Please sign in to comment.