aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJisi Liu <liujisi@google.com>2017-12-22 11:55:35 -0800
committerGitHub <noreply@github.com>2017-12-22 11:55:35 -0800
commit88e5573b9a8a5c4038f9db3633610f032aab277d (patch)
treefb41b36c14a2eac74a0b87ec0b092725f1103d55
parent106ffc04be1abf3ff3399f54ccf149815b287dd9 (diff)
parent7ad8e7ad596f56df53d910d91370885d6cacdcc8 (diff)
downloadprotobuf-88e5573b9a8a5c4038f9db3633610f032aab277d.tar.gz
protobuf-88e5573b9a8a5c4038f9db3633610f032aab277d.tar.bz2
protobuf-88e5573b9a8a5c4038f9db3633610f032aab277d.zip
Merge pull request #4089 from pherl/nocache
Disable pip cache when testing uploaded packages
-rwxr-xr-xpython/release.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/release.sh b/python/release.sh
index 01fc5e23..a71cc7f5 100755
--- a/python/release.sh
+++ b/python/release.sh
@@ -19,7 +19,7 @@ function run_install_test() {
chmod +x test-venv/bin/protoc
source test-venv/bin/activate
- pip install -i ${PYPI} protobuf==${VERSION}
+ pip install -i ${PYPI} protobuf==${VERSION} --no-cache-dir
deactivate
rm -fr test-venv
}
@@ -88,6 +88,7 @@ run_install_test ${TESTING_VERSION} python3.4 https://test.pypi.org/simple
# Deploy egg/wheel packages to testing PyPI and test again.
python setup.py bdist_egg bdist_wheel upload -r https://test.pypi.org/legacy/
+
run_install_test ${TESTING_VERSION} python2.7 https://test.pypi.org/simple
run_install_test ${TESTING_VERSION} python3.4 https://test.pypi.org/simple