Skip to content

Commit e0cf7fc

Browse files
committed
Reduced verbosity of pytest error logs. Outputting logs to file.
1 parent c67b456 commit e0cf7fc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ install:
3131
before_script:
3232
- curl -Os --retry 5 https://uploader.codecov.io/latest/linux/codecov
3333
- chmod +x codecov
34-
script: tox -- -v -nauto
34+
script: tox -- -nauto > log_output.txt
35+
after_failure:
36+
- tail -n 500 log_output.txt
3537
after_success:
3638
- if [[ -e .coverage ]]; then ./codecov -t $CODECOV_TOKEN; fi

0 commit comments

Comments
 (0)