From b393576de4d8532a56c320c54289f14a9ce5948c Mon Sep 17 00:00:00 2001 From: Manuel Riel Date: Tue, 20 Nov 2018 16:04:59 +0800 Subject: [PATCH] Update .travis.yml --- .travis.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9a2b3137..01b72793 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,10 +11,11 @@ addons: - libacl1 - build-essential homebrew: - update: true + update: false packages: - openssl - readline + - pyenv - pyenv-virtualenv casks: - xquartz @@ -46,7 +47,9 @@ install: - | if [ $TRAVIS_OS_NAME = "linux" ]; then curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash - git clone https://github.com/pyenv/pyenv-virtualenv.git $(pyenv root)/plugins/pyenv-virtualenv + #git clone https://github.com/pyenv/pyenv-virtualenv.git $(pyenv root)/plugins/pyenv-virtualenv + git clone git://github.com/pyenv/pyenv-update.git $(pyenv root)/plugins/pyenv-update + pyenv update pyenv install 3.6.7 export PATH="/home/travis/.pyenv/shims:${PATH}" export DISPLAY=:99.0 @@ -57,9 +60,8 @@ install: CFLAGS="-I$(xcrun --show-sdk-path)/usr/include" pyenv install 3.6.7 export PATH="/Users/travis/.pyenv/shims:${PATH}" fi - export PYENV_VERSION=3.6.7 - pyenv virtualenv venv 3.6.7 - pyenv shell venv + eval "$(pyenv init -)" + pyenv shell 3.6.7 - pip install . - pip install borgbackup