File tree Expand file tree Collapse file tree 1 file changed +13
-9
lines changed
Expand file tree Collapse file tree 1 file changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -146,15 +146,19 @@ before_script:
146146script :
147147 - PATH=$VIRTUAL_ENV/bin:$PATH
148148 - export LD_LIBRARY_PATH=$VIRTUAL_ENV/lib:$LD_LIBRARY_PATH
149- - [[ $TRAVIS_PYTHON_VERSION != "2."* ]] && py.test
150- -W default
151- -W "ignore:SelectableGroups:DeprecationWarning"
152- -W "ignore:the imp module:DeprecationWarning:gpg.gpgme:15"
153- -W "ignore:'U' mode::docutils.io"
154- -W "ignore:unclosed:ResourceWarning:roundup.roundup.demo"
155- -W "ignore:unclosed file:ResourceWarning:enum"
156- -v --maxfail=20 test/ --cov=roundup
157- - py.test -v --maxfail=20 test/ --cov=roundup
149+ - if [[ "$TRAVIS_PYTHON_VERSION" != "2."* ]]; then
150+ py.test
151+ -W default
152+ -W "ignore:SelectableGroups:DeprecationWarning"
153+ -W "ignore:the imp module:DeprecationWarning:gpg.gpgme:15"
154+ -W "ignore:'U' mode::docutils.io"
155+ -W "ignore:unclosed:ResourceWarning:roundup.roundup.demo"
156+ -W "ignore:unclosed file:ResourceWarning:enum"
157+ -v --maxfail=20 test/ --cov=roundup;
158+ fi
159+ - if [[ "$TRAVIS_PYTHON_VERSION" == "2."* ]]; then
160+ py.test -v --maxfail=20 test/ --cov=roundup;
161+ fi
158162
159163after_success :
160164 - codecov
You can’t perform that action at this time.
0 commit comments