From 14773e34d5b6ad12bb8712d3f2f43af12fa5109a Mon Sep 17 00:00:00 2001 From: Stefan van der Walt Date: Tue, 8 Apr 2014 01:19:37 +0200 Subject: [PATCH] Print warnings while testing --- .travis.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0e038f4c..8eb152d4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,11 +13,13 @@ matrix: include: - python: 2.7 env: - - PYTHON=python + - PYTHON=PYWARNINGS=all python + - NOSETESTS=PYWARNINGS=all nosetests - PYVER=2.x - python: 3.2 env: - - PYTHON=python3 + - PYTHON=PYWARNINGS=all python3 + - NOSETESTS=PYWARNINGS=all nosetests - PYVER=3.x exclude: - python: 2.6 @@ -64,10 +66,10 @@ script: # Run all tests - if [[ $PYVER == '3.x' ]]; then - - nosetests --exe -v --with-doctest --with-cov --cov skimage --cov-config .coveragerc skimage + - $NOSETESTS --exe -v --with-doctest --with-cov --cov skimage --cov-config .coveragerc skimage - fi - if [[ $PYVER == '2.x' ]]; then - - nosetests --exe -v --with-doctest skimage + - $NOSETESTS --exe -v --with-doctest skimage - fi # Run all doc examples - export PYTHONPATH=$(pwd):$PYTHONPATH