diff options
author | Jie Luo <anandolee@gmail.com> | 2018-04-25 15:09:07 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-25 15:09:07 -0700 |
commit | 974b5dd496042f65c7b0b7bdd54aba950f45e722 (patch) | |
tree | 7cbe0f264d77801814997f709a9cb7a7df33b95d | |
parent | 4d5c83b2659eaeb6b16225cc02ac3884aa82cafc (diff) | |
download | protobuf-974b5dd496042f65c7b0b7bdd54aba950f45e722.tar.gz protobuf-974b5dd496042f65c7b0b7bdd54aba950f45e722.tar.bz2 protobuf-974b5dd496042f65c7b0b7bdd54aba950f45e722.zip |
Update tests.sh
-rwxr-xr-x | tests.sh | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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. |