Change how Travis CI builds on macOS

Install an updated version of bison with brew, then build rgbds with make
This commit is contained in:
Rangi 2021-04-18 15:57:28 -04:00
parent 5d74bf5126
commit 8469421892

View file

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