Xqt has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/909194 )

Change subject: [coverage] Invoke codecov.sh  for Appveyor
......................................................................

[coverage] Invoke codecov.sh  for Appveyor

https://www.appveyor.com/blog/2017/03/17/codecov/

Bug: T334674
Change-Id: I87329fe0305a7e31b81ab5203839e973e2fc2cd0
---
M .appveyor.yml
1 file changed, 16 insertions(+), 1 deletion(-)

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




diff --git a/.appveyor.yml b/.appveyor.yml
index 8130c22..a82cd16 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -87,7 +87,10 @@
   - "%CMD_IN_ENV% coverage run -m unittest discover -vv -p \"*_tests.py\""

 on_finish:
-  # - codecov
+  - ps: |
+    $env:PATH = 'C:\msys64\usr\bin;' + $env:PATH
+    Invoke-WebRequest -Uri 'https://codecov.io/bash' -OutFile codecov.sh
+    bash codecov.sh -f "coverage.xml"

 artifacts:
   - path: dist\*  .coverage coverage.xml

--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/909194
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: I87329fe0305a7e31b81ab5203839e973e2fc2cd0
Gerrit-Change-Number: 909194
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <i...@gno.de>
Gerrit-Reviewer: Xqt <i...@gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
_______________________________________________
Pywikibot-commits mailing list -- pywikibot-commits@lists.wikimedia.org
To unsubscribe send an email to pywikibot-commits-le...@lists.wikimedia.org

Reply via email to