summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeth Michael Larson <sethmichaellarson@gmail.com>2019-06-24 20:16:56 -0500
committerGitHub <noreply@github.com>2019-06-24 20:16:56 -0500
commitc02698afebfaf057003d0d9e7f53e5dca419ed58 (patch)
tree8bf73103642f66696169d1811923f7c51985543c
parent25add2a0bac43823a4a5ef9217578a2cf5bcfc69 (diff)
downloadurllib3-c02698afebfaf057003d0d9e7f53e5dca419ed58.tar.gz
Don't install gcp-devrel-py-tools on Windows+Python 3.4 (#1638)
-rwxr-xr-x_travis/upload_coverage.sh4
-rw-r--r--dev-requirements.txt4
2 files changed, 5 insertions, 3 deletions
diff --git a/_travis/upload_coverage.sh b/_travis/upload_coverage.sh
index da47a7c1..d153cc15 100755
--- a/_travis/upload_coverage.sh
+++ b/_travis/upload_coverage.sh
@@ -3,6 +3,6 @@
set -exo pipefail
if [[ -e .coverage ]]; then
- python3 -m pip install codecov
- codecov --env TRAVIS_OS_NAME,NOX_SESSION
+ python3.6 -m pip install codecov
+ python3.6 -m codecov --env TRAVIS_OS_NAME,NOX_SESSION
fi
diff --git a/dev-requirements.txt b/dev-requirements.txt
index 2592fe2c..95cdf8d0 100644
--- a/dev-requirements.txt
+++ b/dev-requirements.txt
@@ -14,4 +14,6 @@ lazy-object-proxy==1.4.0
# https://github.com/GoogleCloudPlatform/python-repo-tools/issues/23
pylint<2.0;python_version<="2.7"
-gcp-devrel-py-tools
+
+# Because typed-ast doesn't provide Python 3.4+Windows wheels
+gcp-devrel-py-tools;python_version>='3.5' or sys_platform != 'win32'