From 471ebf4186fde9b6a09c8f1cfd4be6f2c97eec18 Mon Sep 17 00:00:00 2001 From: Joern Hees Date: Thu, 27 Aug 2015 11:08:37 +0200 Subject: [PATCH] enable all warnings during travis nosetests --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index f4aa75209..c048d1b8f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -34,8 +34,8 @@ script: # Must run the tests in build/src so python3 doesn't get confused and run # the python2 code from the current directory instead of the installed # 2to3 version in build/src. - - if [[ ${TRAVIS_PYTHON_VERSION%%.*} == '2' ]]; then nosetests --with-timer --timer-top-n 42 --with-coverage --cover-tests --cover-package=rdflib ; fi - - if [[ ${TRAVIS_PYTHON_VERSION%%.*} == '3' ]]; then nosetests --with-timer --timer-top-n 42 --with-coverage --cover-tests --cover-package=build/src/rdflib --where=./build/src; fi + - if [[ ${TRAVIS_PYTHON_VERSION%%.*} == '2' ]]; then PYTHONWARNINGS=always nosetests --with-timer --timer-top-n 42 --with-coverage --cover-tests --cover-package=rdflib ; fi + - if [[ ${TRAVIS_PYTHON_VERSION%%.*} == '3' ]]; then PYTHONWARNINGS=always nosetests --with-timer --timer-top-n 42 --with-coverage --cover-tests --cover-package=build/src/rdflib --where=./build/src; fi after_success: - if [[ $HAS_COVERALLS ]] ; then coveralls ; fi