Setup Travis CI integration

Trying again with a PPA for glfw3-dev
This commit is contained in:
ocornut 2014-12-06 23:17:30 +00:00
parent da1b8f7e46
commit 2599849e9c

View File

@ -1,14 +1,13 @@
language: cpp language: cpp
os: os:
- osx - linux
osx_image: xcode61
compiler: compiler:
- gcc - gcc
before_install: before_install:
- if [ $TRAVIS_OS_NAME == linux ]; then sudo apt-get update -qq && sudo apt-get install -y --no-install-recommends libglfw3-dev libglew-dev; fi - if [ $TRAVIS_OS_NAME == linux ]; then sudo add-apt-repository ppa:keithw/glfw3 && sudo apt-get update -qq && sudo apt-get install -y --no-install-recommends libglfw3-dev libglew-dev; fi
- if [ $TRAVIS_OS_NAME == osx ]; then brew update && brew install glew && brew install glfw3; fi - if [ $TRAVIS_OS_NAME == osx ]; then brew update && brew install glew && brew install glfw3; fi
script: script: