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 - osx
python: python:
- "2.6" - "3.7"
compiler: compiler:
- gcc - gcc
@ -42,14 +42,17 @@ addons:
- uuid-dev - uuid-dev
- libsdl2-dev - libsdl2-dev
- libepoxy-dev - libepoxy-dev
homebrew:
packages:
- glib
- pixman
- sdl2
- libepoxy
git: git:
# we want to do this ourselves # we want to do this ourselves
submodules: false 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: script:
- ./build.sh - ./build.sh