Skip to content

Commit

Permalink
Try to get postgres logs when tests deadlock
Browse files Browse the repository at this point in the history
  • Loading branch information
carols10cents committed Dec 17, 2016
1 parent 1637de0 commit 18838fb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,15 @@ before_script:

script:
- cargo build
- cargo test -- --test-threads=1
- cargo test
- yarn run test

after_success:
- travis-cargo coveralls --no-sudo

after_failure:
- tail -100 /var/log/postgresql/postgresql-*-main.log

addons:
postgresql: "9.3"
apt:
Expand Down

0 comments on commit 18838fb

Please sign in to comment.