2014-12-07 04:50:27 +08:00
|
|
|
language: cpp
|
2014-12-07 04:56:34 +08:00
|
|
|
|
2014-12-07 07:01:41 +08:00
|
|
|
os:
|
|
|
|
- osx
|
2014-12-07 07:06:04 +08:00
|
|
|
osx_image: xcode61
|
2014-12-07 07:01:41 +08:00
|
|
|
|
2014-12-07 04:50:27 +08:00
|
|
|
compiler:
|
|
|
|
- gcc
|
2014-12-07 04:56:34 +08:00
|
|
|
|
|
|
|
before_install:
|
2014-12-07 05:06:00 +08:00
|
|
|
- if [ $TRAVIS_OS_NAME == linux ]; then sudo apt-get update -qq && sudo apt-get install -y --no-install-recommends libglfw3-dev libglew-dev; fi
|
2014-12-07 07:01:41 +08:00
|
|
|
- if [ $TRAVIS_OS_NAME == osx ]; then brew update && brew install glew && brew install glfw3; fi
|
2014-12-07 04:56:34 +08:00
|
|
|
|
|
|
|
script:
|
|
|
|
- cd examples/opengl_example && make
|
|
|
|
- cd examples/opengl3_example && make
|
2014-12-07 04:50:27 +08:00
|
|
|
|