Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #166 - Build on both Linux and macOS #167

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fixes #166 - Build on both Linux and macOS
  • Loading branch information
st3fan committed Sep 29, 2017
commit ecadaccdaab8c90897433e57416c4ea4db8104d3
17 changes: 14 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,23 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.

os: osx
os:
- osx
- linux

sudo: true
dist: trusty

language: c

before_install:
- brew update
- brew install sdl2 lua
- 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

before_script:
- cd src

script:
- make