Browse Source

Setup Travis CI integration

Failing to get glfw3 for ubuntu, trying osx/gcc
ocornut 10 years ago
parent
commit
0687af2ce5
1 changed files with 4 additions and 0 deletions
  1. 4 0
      .travis.yml

+ 4 - 0
.travis.yml

@@ -1,10 +1,14 @@
 language: cpp
 language: cpp
 
 
+os:
+  - osx
+
 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 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
 
 
 script: 
 script: 
   - cd examples/opengl_example && make
   - cd examples/opengl_example && make