John Vandenberg has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/290147

Change subject: Run codecov on CI job failure
......................................................................

Run codecov on CI job failure

Bug: T74863
Change-Id: Ic18750859336034c77d5e8757f6bd9cb7b74bd3a
---
M .appveyor.yml
M .travis.yml
2 files changed, 7 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core 
refs/changes/47/290147/1

diff --git a/.appveyor.yml b/.appveyor.yml
index 6e24d79..c7eff52 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -97,7 +97,10 @@
   - set PYSETUP_TEST_NO_UI=1
   - "%CMD_IN_ENV% coverage run setup.py test"
 
-after_test:
+on_failure:
+  - codecov
+
+on_success:
   - codecov
 
 artifacts:
diff --git a/.travis.yml b/.travis.yml
index fa8fef8..87954ee 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -115,6 +115,9 @@
 after_success:
     codecov
 
+after_failure:
+    codecov
+
 env:
   global:
     # This is the encrypted password for Wikimedia SUL user 'Pywikibot-test',

-- 
To view, visit https://gerrit.wikimedia.org/r/290147
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic18750859336034c77d5e8757f6bd9cb7b74bd3a
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: John Vandenberg <jay...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to