Browse Source

Install pyenv

Kentaro Wada 7 years ago
parent
commit
2875a74449
1 changed files with 1 additions and 2 deletions
  1. 1 2
      .travis.yml

+ 1 - 2
.travis.yml

@@ -59,8 +59,7 @@ before_install:
       conda update -q conda;
       conda update -q conda;
       conda info -a;
       conda info -a;
     elif [ "$TRAVIS_OS_NAME" = "osx" ]; then
     elif [ "$TRAVIS_OS_NAME" = "osx" ]; then
-      brew update >/dev/null;
-      brew outdated pyenv || brew upgrade --quiet pyenv;
+      which pyenv &>/dev/null || brew install --quiet pyenv;
       PYTHON_CONFIGURE_OPTS="--enable-unicode=ucs2" pyenv install -ks $PYTHON_VERSION;
       PYTHON_CONFIGURE_OPTS="--enable-unicode=ucs2" pyenv install -ks $PYTHON_VERSION;
       mkdir -p ~/.matplotlib;
       mkdir -p ~/.matplotlib;
       echo "backend':' Agg" > ~/.matplotlib/matplotlibrc;
       echo "backend':' Agg" > ~/.matplotlib/matplotlibrc;