ci: Fix compiling with macOS on travis-ci

This commit is contained in:
wutno 2019-05-27 01:06:27 -04:00 committed by mborgerson
parent 8d05bc917e
commit 787012e012
1 changed files with 8 additions and 5 deletions

View File

@ -7,7 +7,7 @@ os:
- osx
python:
- "2.6"
- "3.7"
compiler:
- gcc
@ -42,14 +42,17 @@ addons:
- uuid-dev
- libsdl2-dev
- libepoxy-dev
homebrew:
packages:
- glib
- pixman
- sdl2
- libepoxy
git:
# we want to do this ourselves
submodules: false
before_install:
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update ; fi
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install libffi gettext glib pixman pkg-config autoconf pixman sdl2 libepoxy; fi
script:
- ./build.sh