Update .travis.yml

This commit is contained in:
Manuel Riel 2018-11-20 16:18:40 +08:00 committed by GitHub
parent 2869287140
commit e102169e6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -57,7 +57,8 @@ install:
/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
#brew update && brew upgrade pyenv
pyenv update
CFLAGS="-I$(xcrun --show-sdk-path)/usr/include" pyenv install $PYTHON
export PATH="/Users/travis/.pyenv/shims:${PATH}"
fi