shithub: pokered

Download patch

ref: 84694218926e2668ef137783f3c2607f62fa936f
parent: 5d74bf5126b57c6aef45f5a67e2cb1cbccb5a980
author: Rangi <remy.oukaour+rangi42@gmail.com>
date: Sun Apr 18 11:57:28 EDT 2021

Change how Travis CI builds on macOS

Install an updated version of bison with brew, then build rgbds with make

--- a/.travis.yml
+++ b/.travis.yml
@@ -5,13 +5,13 @@
 install:
   - |-
     ( cd
-        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
-          HOMEBREW_NO_AUTO_UPDATE=1 brew install rgbds;
+        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
     )
 before_script:
   - |-