mirror of https://github.com/borgbase/vorta
Update .travis.yml
This commit is contained in:
parent
b6f49e535a
commit
b393576de4
12
.travis.yml
12
.travis.yml
|
@ -11,10 +11,11 @@ addons:
|
||||||
- libacl1
|
- libacl1
|
||||||
- build-essential
|
- build-essential
|
||||||
homebrew:
|
homebrew:
|
||||||
update: true
|
update: false
|
||||||
packages:
|
packages:
|
||||||
- openssl
|
- openssl
|
||||||
- readline
|
- readline
|
||||||
|
- pyenv
|
||||||
- pyenv-virtualenv
|
- pyenv-virtualenv
|
||||||
casks:
|
casks:
|
||||||
- xquartz
|
- xquartz
|
||||||
|
@ -46,7 +47,9 @@ install:
|
||||||
- |
|
- |
|
||||||
if [ $TRAVIS_OS_NAME = "linux" ]; then
|
if [ $TRAVIS_OS_NAME = "linux" ]; then
|
||||||
curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash
|
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
|
pyenv install 3.6.7
|
||||||
export PATH="/home/travis/.pyenv/shims:${PATH}"
|
export PATH="/home/travis/.pyenv/shims:${PATH}"
|
||||||
export DISPLAY=:99.0
|
export DISPLAY=:99.0
|
||||||
|
@ -57,9 +60,8 @@ install:
|
||||||
CFLAGS="-I$(xcrun --show-sdk-path)/usr/include" pyenv install 3.6.7
|
CFLAGS="-I$(xcrun --show-sdk-path)/usr/include" pyenv install 3.6.7
|
||||||
export PATH="/Users/travis/.pyenv/shims:${PATH}"
|
export PATH="/Users/travis/.pyenv/shims:${PATH}"
|
||||||
fi
|
fi
|
||||||
export PYENV_VERSION=3.6.7
|
eval "$(pyenv init -)"
|
||||||
pyenv virtualenv venv 3.6.7
|
pyenv shell 3.6.7
|
||||||
pyenv shell venv
|
|
||||||
|
|
||||||
- pip install .
|
- pip install .
|
||||||
- pip install borgbackup
|
- pip install borgbackup
|
||||||
|
|
Loading…
Reference in New Issue