shithub: pokered

Download patch

ref: 21ff7695173821ac333039df4ab1c68c227aea0a
parent: e2c8614cb1a888cc38f7b103953241db78b7f34f
author: Rangi <remy.oukaour+rangi42@gmail.com>
date: Sun Apr 18 11:32:06 EDT 2021

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`.

--- a/.travis.yml
+++ b/.travis.yml
@@ -5,9 +5,13 @@
 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:
   - |-