Explorar o código

Update tests.sh

Jie Luo %!s(int64=7) %!d(string=hai) anos
pai
achega
974b5dd496
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      tests.sh

+ 4 - 1
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.