瀏覽代碼

Update tests.sh

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
     return;
   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.
   if [ $(uname -s) == "Linux" ]; then
     sudo apt-get install -y python-software-properties # for apt-add-repository