From 3b55e544fcc25e539b1e80907abe1eb1a4e9c823 Mon Sep 17 00:00:00 2001 From: Giampaolo Rodola Date: Sun, 23 Apr 2017 02:17:48 +0200 Subject: attempt to fix travis + osx --- .ci/travis/install.sh | 44 ++++++++++++++++++++++++-------------------- 1 file changed, 24 insertions(+), 20 deletions(-) (limited to '.ci') diff --git a/.ci/travis/install.sh b/.ci/travis/install.sh index f05853e8..ca90f400 100755 --- a/.ci/travis/install.sh +++ b/.ci/travis/install.sh @@ -9,26 +9,30 @@ uname -a echo $PYVER if [[ "$(uname -s)" == 'Darwin' ]]; then - brew update || brew update - brew outdated pyenv || brew upgrade pyenv - brew install pyenv-virtualenv - - if which pyenv > /dev/null; then - eval "$(pyenv init -)" - fi - - case "${PYVER}" in - py27) - pyenv install 2.7.10 - pyenv virtualenv 2.7.10 psutil - ;; - py34) - pyenv install 3.4.3 - pyenv virtualenv 3.4.3 psutil - ;; - esac - pyenv rehash - pyenv activate psutil + brew update + brew install python + virtualenv env -p python + source env/bin/activate + # brew update || brew update + # brew outdated pyenv || brew upgrade pyenv + # brew install pyenv-virtualenv + + # if which pyenv > /dev/null; then + # eval "$(pyenv init -)" + # fi + + # case "${PYVER}" in + # py27) + # pyenv install 2.7.10 + # pyenv virtualenv 2.7.10 psutil + # ;; + # py34) + # pyenv install 3.4.3 + # pyenv virtualenv 3.4.3 psutil + # ;; + # esac + # pyenv rehash + # pyenv activate psutil fi # old python versions -- cgit v1.2.1