From 21ff7695173821ac333039df4ab1c68c227aea0a Mon Sep 17 00:00:00 2001 From: Rangi Date: Sun, 18 Apr 2021 15:32:06 -0400 Subject: Install rgbds with `brew` on macOS so Travis CI will pass Building rgbds on macOS with `make` uses the system `bison`, which is an older version that doesn't support `-Wall`. --- .travis.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index a0b965f7..0b0973db 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,9 +5,13 @@ os: install: - |- ( cd - git clone -b v0.5.0 --depth=1 https://github.com/gbdev/rgbds - sudo make -C rgbds install - rm -rf rgbds + if [ $TRAVIS_OS_NAME = linux ]; then + git clone -b v0.5.0 --depth=1 https://github.com/gbdev/rgbds; + sudo make -C rgbds install; + rm -rf rgbds; + else + brew install rgbds; + fi ) before_script: - |- -- cgit v1.2.3