jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/509380 )
Change subject: [tests] Allow more verbose output for pytest ......................................................................
[tests] Allow more verbose output for pytest
- This will allow pytest on Travis to print reasons for skipped, xfailed and xpassed tests
Bug: T222898 Change-Id: Ib7227a6352aa455cd9adf700ed8153b1abb94c11 --- M .travis.yml 1 file changed, 2 insertions(+), 2 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/.travis.yml b/.travis.yml index 6796027..1097b51 100644 --- a/.travis.yml +++ b/.travis.yml @@ -105,9 +105,9 @@ fi ; elif [[ "$USE_PYTEST" == "1" ]]; then if [[ "$PYWIKIBOT_SITE_ONLY" == "1" ]]; then - python setup.py pytest --addopts="-vvv -s --timeout=$TEST_TIMEOUT --cov=. -a "family=='$FAMILY' and code=='$LANGUAGE'"" ; + python setup.py pytest --addopts="-vvv -s --timeout=$TEST_TIMEOUT --cov=. -rsxX -a "family=='$FAMILY' and code=='$LANGUAGE'"" ; else - python setup.py pytest --addopts="-vvv -s --timeout=$TEST_TIMEOUT --cov=." ; + python setup.py pytest --addopts="-vvv -s --timeout=$TEST_TIMEOUT --cov=. -rsxX" ; fi else coverage run setup.py test ;
pywikibot-commits@lists.wikimedia.org