Browse Source

Setup Travis CI integration

ocornut 10 years ago
parent
commit
3e83de58b5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .travis.yml

+ 1 - 1
.travis.yml

@@ -4,7 +4,7 @@ compiler:
   - gcc
   - gcc
 
 
 before_install:
 before_install:
-  - apt-get update && apt-get install -y --no-install-recommends build-essential libglfw3-dev libglew-dev pkg-config libxrandr-dev libxi-dev
+  - if [ $TRAVIS_OS_NAME == linux ]; then sudo apt-get update && apt-get install -y --no-install-recommends libglfw3-dev libglew-dev; fi
 
 
 script: 
 script: 
   - cd examples/opengl_example && make
   - cd examples/opengl_example && make