Explorar el Código

Merge pull request #3671 from dnephin/fix_pip_version_osx

Update pip in travis osx build
Aanand Prasad hace 9 años
padre
commit
967dce5807
Se han modificado 2 ficheros con 3 adiciones y 2 borrados
  1. 1 1
      script/travis/ci
  2. 2 1
      script/travis/install

+ 1 - 1
script/travis/ci

@@ -6,5 +6,5 @@ if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
     tox -e py27,py34 -- tests/unit
 else
     # TODO: we could also install py34 and test against it
-    python -m tox -e py27 -- tests/unit
+    tox -e py27 -- tests/unit
 fi

+ 2 - 1
script/travis/install

@@ -5,5 +5,6 @@ set -ex
 if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
     pip install tox==2.1.1
 else
-    pip install --user tox==2.1.1
+    sudo pip install --upgrade pip tox==2.1.1 virtualenv
+    pip --version
 fi