Improve after_failure Travis stage and list pkgs
@@ -78,6 +78,7 @@ matrix:
env: TOXENV=cheroot-master
- python: 3.6
env: TOXENV=pre-commit
+ after_failure: skip
- python: 3.6
env: TOXENV=pre-commit-pep257
- python: 3.6
@@ -108,19 +109,19 @@ install: pip install tox
script: tox
-after_failure: |
- if [[ "$TOXENV" != "pre-commit" ]]
- then
- echo Dumping logs, because tests failed to succeed
+after_failure:
+- echo "Here's a list of installed Python packages:"
+- pip list --format=columns
+- echo Dumping logs, because tests failed to succeed
+- |
for log in `ls cherrypy/test/*.log`
do
echo Outputting $log
cat $log
done
- py_log=/home/travis/build/cherrypy/cherrypy/.tox/python/log/python-0.log
- echo Outputting python invokation log from $py_log
- cat $py_log
- fi
+- py_log=/home/travis/build/cherrypy/cherrypy/.tox/python/log/python-0.log
+- echo Outputting python invokation log from $py_log
+- cat $py_log
deploy:
provider: pypi
