diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2021-04-18 16:03:08 -0400 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2021-04-18 16:03:08 -0400 |
commit | 0bfc0324b58cd1fd3a2056205b5b6ca7062709a1 (patch) | |
tree | b926c001b1e7b3a8ee03a0ed6127f7aa29835229 | |
parent | 3a97ec326ceba86c7afd3b3f92ef3b308beea835 (diff) |
Change how Travis CI builds on macOS
Building rgbds requires bison, and macOS's built-in version is old and doesn't support `-Wall`.
-rw-r--r-- | .travis.yml | 4 |
1 files changed, 4 insertions, 0 deletions
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 |