diff options
author | Sviatoslav Sydorenko <wk@sydorenko.org.ua> | 2017-01-10 18:35:00 +0200 |
---|---|---|
committer | Sviatoslav Sydorenko <wk@sydorenko.org.ua> | 2017-01-10 18:35:00 +0200 |
commit | db152f6102adb21a4e1d7c34b7287e3508dcc2ac (patch) | |
tree | 28b5ec7309b70b435cfbafed14733bd6d2bace4e /.travis.yml | |
parent | 51e06fb5d3113a4c48a2922be7a20bdedc8dc984 (diff) | |
download | cherrypy-git-db152f6102adb21a4e1d7c34b7287e3508dcc2ac.tar.gz |
Output test logs when test fail
Also:
* remove bogus `include`
* use stable 3.6
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index d3395934..c26b0db9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: |