aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJie Luo <anandolee@gmail.com>2018-04-25 15:09:07 -0700
committerGitHub <noreply@github.com>2018-04-25 15:09:07 -0700
commit974b5dd496042f65c7b0b7bdd54aba950f45e722 (patch)
tree7cbe0f264d77801814997f709a9cb7a7df33b95d
parent4d5c83b2659eaeb6b16225cc02ac3884aa82cafc (diff)
downloadprotobuf-974b5dd496042f65c7b0b7bdd54aba950f45e722.tar.gz
protobuf-974b5dd496042f65c7b0b7bdd54aba950f45e722.tar.bz2
protobuf-974b5dd496042f65c7b0b7bdd54aba950f45e722.zip
Update tests.sh
-rwxr-xr-xtests.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests.sh b/tests.sh
index 5f51fed4..9b15b43c 100755
--- a/tests.sh
+++ b/tests.sh
@@ -227,7 +227,10 @@ internal_install_python_deps() {
return;
fi
# Install tox (OS X doesn't have pip).
- if [ $(uname -s) != "Darwin" ]; then
+ if [ $(uname -s) == "Darwin" ]; then
+ brew upgrade python;
+ python -m pip install -q tox;
+ else
sudo pip install tox
fi
# Only install Python2.6/3.x on Linux.