diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2021-04-18 15:32:06 -0400 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2021-04-18 15:32:06 -0400 |
commit | 21ff7695173821ac333039df4ab1c68c227aea0a (patch) | |
tree | 365ce90b454ef52e9a8859bcabf3c93b1aa60b17 | |
parent | e2c8614cb1a888cc38f7b103953241db78b7f34f (diff) |
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`.
-rw-r--r-- | .travis.yml | 10 |
1 files 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: - |- |