Fixes #166 - Build on both Linux and macOS

This commit is contained in:
Stefan Arentz 2017-09-28 21:23:35 -04:00
parent 0a12a9574f
commit a3564ab3d0

View File

@ -32,6 +32,7 @@ language: c
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install sdl2 lua; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get --yes update; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get --yes install liblua5.1-0-dev libsdl2-dev; fi
before_script: