New OS X Travis bundle

This commit is contained in:
Kovid Goyal
2017-01-11 19:59:02 +05:30
parent 6c76f292f4
commit 15793d6eb0

View File

@@ -39,12 +39,12 @@ matrix:
- clang - clang
- os: osx - os: osx
language: generic language: generic
env: SWBASE=/sw SW=$SWBASE/sw PATH=$SW/bin:$PATH env: SWBASE=/Users/Shared/buildbot/sw SW=$SWBASE/sw PATH=$SW/bin:$PATH
install: | install: |
if [[ "$RUN_FLAKE" == "1" ]]; then pip install flake8; fi if [[ "$RUN_FLAKE" == "1" ]]; then pip install flake8; fi
if [[ "$TRAVIS_OS_NAME" == 'osx' ]]; then if [[ "$TRAVIS_OS_NAME" == 'osx' ]]; then
sudo mkdir -p $SW && sudo chown -R $USER $SWBASE; mkdir -p $SW;
curl https://download.calibre-ebook.com/travis/kitty/osx.tar.xz | tar xJ -C $SW; curl https://download.calibre-ebook.com/travis/kitty/osx.tar.xz | tar xJ -C $SW;
else else
wget -O glfw-3.2.1.zip https://github.com/glfw/glfw/archive/3.2.1.zip wget -O glfw-3.2.1.zip https://github.com/glfw/glfw/archive/3.2.1.zip