Skip to content

Commit edb3bde

Browse files
committed
See if this fixes nightly python run.
Run is exiting with no useful output. Set -xv to get feedback Also escape newlines in all continuation lines for the pytest invocation.
1 parent 2de188a commit edb3bde

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.travis.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -163,15 +163,15 @@ script:
163163
- PATH=$VIRTUAL_ENV/bin:$PATH
164164
- export LD_LIBRARY_PATH=$VIRTUAL_ENV/lib:$LD_LIBRARY_PATH
165165
- python -c "import sys; print('python version ', sys.version)"
166-
- if [[ "$TRAVIS_PYTHON_VERSION" != "2."* ]]; then
167-
python -m pytest -r a
168-
--durations=20
169-
-W default
170-
-W "ignore:SelectableGroups:DeprecationWarning"
171-
-W "ignore:the imp module:DeprecationWarning:gpg.gpgme:15"
172-
-W "ignore:'U' mode::docutils.io"
173-
-W "ignore:unclosed:ResourceWarning:roundup.roundup.demo"
174-
-W "ignore:unclosed file:ResourceWarning:enum"
166+
- set -xv; if [[ "$TRAVIS_PYTHON_VERSION" != "2."* ]]; then
167+
python -m pytest -r a \
168+
--durations=20 \
169+
-W default \
170+
-W "ignore:SelectableGroups:DeprecationWarning" \
171+
-W "ignore:the imp module:DeprecationWarning:gpg.gpgme:15" \
172+
-W "ignore:'U' mode::docutils.io" \
173+
-W "ignore:unclosed:ResourceWarning:roundup.roundup.demo" \
174+
-W "ignore:unclosed file:ResourceWarning:enum" \
175175
-v --maxfail=5 test/ --cov=roundup;
176176
fi
177177
- if [[ "$TRAVIS_PYTHON_VERSION" == "2."* ]]; then

0 commit comments

Comments
 (0)