mirror of
https://github.com/borgbase/vorta
synced 2024-12-22 15:57:34 +00:00
Update .travis.yml
This commit is contained in:
parent
7a44aa2868
commit
222abf9ce7
1 changed files with 2 additions and 0 deletions
|
@ -43,12 +43,14 @@ 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
|
||||
pyenv install 3.6.7
|
||||
export PATH="/home/travis/.pyenv/shims:${PATH}"
|
||||
export DISPLAY=:99.0
|
||||
/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 1920x1200x24 -ac +extension GLX +render -noreset
|
||||
sleep 3
|
||||
elif [ $TRAVIS_OS_NAME = "osx" ]; then
|
||||
brew update && brew upgrade pyenv
|
||||
CFLAGS="-I$(xcrun --show-sdk-path)/usr/include" pyenv install 3.6.7
|
||||
export PATH="/Users/travis/.pyenv/shims:${PATH}"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue