Permalink
Browse files

Output test logs when test fail

Also:
* remove bogus `include`
* use stable 3.6
  • Loading branch information...
1 parent 51e06fb commit db152f6102adb21a4e1d7c34b7287e3508dcc2ac @webknjaz webknjaz committed Jan 10, 2017
Showing with 12 additions and 2 deletions.
  1. +12 −2 .travis.yml
View
@@ -5,7 +5,7 @@ python:
- 3.3
- 3.4
- 3.5
-- 3.6-dev
+- 3.6
- pypy
- pypy3
- nightly
@@ -21,7 +21,6 @@ matrix:
include:
- python: 3.5
env: TOXENV=pre-commit
- include:
- python: 3.5
env: TOXENV=dist-check
@@ -30,6 +29,17 @@ cache: pip
install: pip install tox
script: tox
+after_failure: >
+ if [[ "$TOXENV" != "pre-commit" ]]
+ then
+ echo Dumping logs, because tests failed to succeed
+ for log in `ls cherrypy/test/*.log`
+ do
+ echo Outputting $log
+ cat $log
+ done
+ fi
+
deploy:
provider: pypi
on:

0 comments on commit db152f6

Please sign in to comment.