Mercurial > p > roundup > code
changeset 7512:8d55398f976a
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.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sun, 25 Jun 2023 17:53:33 -0400 |
| parents | 6173bbd0e014 |
| children | fa4a5926339a |
| files | .travis.yml |
| diffstat | 1 files changed, 9 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/.travis.yml Sun Jun 25 17:08:17 2023 -0400 +++ b/.travis.yml Sun Jun 25 17:53:33 2023 -0400 @@ -163,15 +163,15 @@ - PATH=$VIRTUAL_ENV/bin:$PATH - export LD_LIBRARY_PATH=$VIRTUAL_ENV/lib:$LD_LIBRARY_PATH - python -c "import sys; print('python version ', sys.version)" - - if [[ "$TRAVIS_PYTHON_VERSION" != "2."* ]]; then - python -m pytest -r a - --durations=20 - -W default - -W "ignore:SelectableGroups:DeprecationWarning" - -W "ignore:the imp module:DeprecationWarning:gpg.gpgme:15" - -W "ignore:'U' mode::docutils.io" - -W "ignore:unclosed:ResourceWarning:roundup.roundup.demo" - -W "ignore:unclosed file:ResourceWarning:enum" + - set -xv; if [[ "$TRAVIS_PYTHON_VERSION" != "2."* ]]; then + python -m pytest -r a \ + --durations=20 \ + -W default \ + -W "ignore:SelectableGroups:DeprecationWarning" \ + -W "ignore:the imp module:DeprecationWarning:gpg.gpgme:15" \ + -W "ignore:'U' mode::docutils.io" \ + -W "ignore:unclosed:ResourceWarning:roundup.roundup.demo" \ + -W "ignore:unclosed file:ResourceWarning:enum" \ -v --maxfail=5 test/ --cov=roundup; fi - if [[ "$TRAVIS_PYTHON_VERSION" == "2."* ]]; then
