diff options
author | Jie Luo <anandolee@gmail.com> | 2018-04-19 16:39:08 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-19 16:39:08 -0700 |
commit | 32f2ba63c867e2b3e37321024b3d011de299d275 (patch) | |
tree | 9dd85425dc5c567d3b5b223a4fc202448e3dd555 | |
parent | ac9f21a6a40c2c3582e4a0c7839fe943938f425b (diff) | |
download | protobuf-32f2ba63c867e2b3e37321024b3d011de299d275.tar.gz protobuf-32f2ba63c867e2b3e37321024b3d011de299d275.tar.bz2 protobuf-32f2ba63c867e2b3e37321024b3d011de299d275.zip |
Update tests.sh
-rwxr-xr-x | tests.sh | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -226,8 +226,12 @@ internal_install_python_deps() { if [ "$TRAVIS" != "true" ]; then return; fi - # install tox - sudo pip install tox + # Install tox (OS X doesn't have pip). + if [ $(uname -s) == "Darwin" ]; then + sudo brew install tox + else + sudo pip install tox + fi # Only install Python2.6/3.x on Linux. if [ $(uname -s) == "Linux" ]; then sudo apt-get install -y python-software-properties # for apt-add-repository |