From 0bfc0324b58cd1fd3a2056205b5b6ca7062709a1 Mon Sep 17 00:00:00 2001 From: Rangi Date: Sun, 18 Apr 2021 16:03:08 -0400 Subject: Change how Travis CI builds on macOS Building rgbds requires bison, and macOS's built-in version is old and doesn't support `-Wall`. --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index a0b965f7..4896c98e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,6 +5,10 @@ os: install: - |- ( cd + if [ "$TRAVIS_OS_NAME" = osx ]; then + HOMEBREW_NO_AUTO_UPDATE=1 brew install bison + export PATH="/usr/local/opt/bison/bin:$PATH" + fi git clone -b v0.5.0 --depth=1 https://github.com/gbdev/rgbds sudo make -C rgbds install rm -rf rgbds -- cgit v1.3.1-sl0p