Jie Luo преди 7 години
родител
ревизия
ac9f21a6a4
променени са 1 файла, в които са добавени 2 реда и са изтрити 6 реда
  1. 2 6
      tests.sh

+ 2 - 6
tests.sh

@@ -226,12 +226,8 @@ internal_install_python_deps() {
   if [ "$TRAVIS" != "true" ]; then
   if [ "$TRAVIS" != "true" ]; then
     return;
     return;
   fi
   fi
-  # Install tox (OS X doesn't have pip).
-  if [ $(uname -s) == "Darwin" ]; then
-    sudo easy_install tox
-  else
-    sudo pip install tox
-  fi
+  # install tox
+  sudo pip install tox
   # Only install Python2.6/3.x on Linux.
   # Only install Python2.6/3.x on Linux.
   if [ $(uname -s) == "Linux" ]; then
   if [ $(uname -s) == "Linux" ]; then
     sudo apt-get install -y python-software-properties # for apt-add-repository
     sudo apt-get install -y python-software-properties # for apt-add-repository