Fixes #166 - Build on both Linux and macOS

This commit is contained in:
Stefan Arentz 2017-09-28 21:17:18 -04:00
parent ecadaccdaa
commit 0a12a9574f

View File

@ -32,7 +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 install lua5.1 sdl2; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get --yes install liblua5.1-0-dev libsdl2-dev; fi
before_script:
- cd src