summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Ganssle <paul@ganssle.io>2020-01-01 12:38:59 -0500
committerPaul Ganssle <paul@ganssle.io>2020-01-01 18:35:48 -0500
commit2047c1c442cfdeb028a2c3d781589b9fbcab7c28 (patch)
tree2e8d01880e1b225523ff2b0b8c1d40836dedbc39
parent376b33021055c0aa38c8790a8862b64d723c9d85 (diff)
downloaddateutil-git-2047c1c442cfdeb028a2c3d781589b9fbcab7c28.tar.gz
Skip coverage uploading for Python 3.4 on Appveyor
Coverage 5.x has made some backwards-incompatible changes to its format and cannot understand the format generated by coverage 4.x. Since coverage 5.x does not support Python 3.4 and the "combine and upload" job is using Python 3.6 (and thus `coverage >= 5`), coverage uploading was broken. It is possible to get this working again, but probably more trouble than it is worth, since as far as I can tell there are no lines hit *only* by the Python 3.4 tests on Windows, so we can leave it out of the combined coverage measurement.
-rw-r--r--appveyor.yml3
-rw-r--r--changelog.d/990.misc.rst1
2 files changed, 3 insertions, 1 deletions
diff --git a/appveyor.yml b/appveyor.yml
index fba78ed..c7de163 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -43,4 +43,5 @@ test_script:
- C:\Python36\scripts\tox
after_test:
- - C:\Python36\scripts\tox -e coverage,codecov
+ # Uploading coverage on Python 3.4 on Windows is not worth the effort.
+ - if NOT %PYTHON_VERSION% == 34 (C:\Python36\scripts\tox -e coverage,codecov)
diff --git a/changelog.d/990.misc.rst b/changelog.d/990.misc.rst
new file mode 100644
index 0000000..faf82d5
--- /dev/null
+++ b/changelog.d/990.misc.rst
@@ -0,0 +1 @@
+Python 3.4 coverage is no longer uploaded on Appveyor.