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`.
This commit is contained in:
Rangi 2021-04-18 15:32:06 -04:00
parent e2c8614cb1
commit 21ff769517

View file

@ -5,9 +5,13 @@ os:
install: install:
- |- - |-
( cd ( cd
git clone -b v0.5.0 --depth=1 https://github.com/gbdev/rgbds if [ $TRAVIS_OS_NAME = linux ]; then
sudo make -C rgbds install git clone -b v0.5.0 --depth=1 https://github.com/gbdev/rgbds;
rm -rf rgbds sudo make -C rgbds install;
rm -rf rgbds;
else
brew install rgbds;
fi
) )
before_script: before_script:
- |- - |-