jenkins-bot has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/662902 )

Change subject: [tests]  Reconfig travis job lifecycle
......................................................................

[tests]  Reconfig travis job lifecycle

Change-Id: I8276204118182b2297215e57fed96082b6a3d1c1
---
M .travis.yml
1 file changed, 4 insertions(+), 6 deletions(-)

Approvals:
  Xqt: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/.travis.yml b/.travis.yml
index 8635e29..40289d6 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -45,17 +45,18 @@
       export PYWIKIBOT_TEST_WRITE_FAIL=1 ;
     fi

-before_script:
+install:
   - pip install -U setuptools
   # Make Travis reinstall default pytest (T255349)
   - pip uninstall -y pytest
   - pip install -r dev-requirements.txt

-script:
+before_script:
   - if [[ "$PYSETUP_TEST_EXTRAS" != '1' ]]; then
       pip install -e .[mwoauth];
     fi

+script:
   - mkdir ~/.pywikibot

   - python pwb.py generate_family_file 'https://wiki.musicbrainz.org/' 
musicbrainz 'n'
@@ -118,10 +119,7 @@
       coverage run -m unittest discover -vv -p "*_tests.py" ;
     fi

-after_success:
-    codecov
-
-after_failure:
+after_script:
     codecov

 env:

--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/662902
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.wikimedia.org/r/settings

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I8276204118182b2297215e57fed96082b6a3d1c1
Gerrit-Change-Number: 662902
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
_______________________________________________
Pywikibot-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits

Reply via email to