Browse Source

Setup Travis CI integration

Trying again with a PPA for glfw3-dev
ocornut 10 years ago
parent
commit
2599849e9c
1 changed files with 2 additions and 3 deletions
  1. 2 3
      .travis.yml

+ 2 - 3
.travis.yml

@@ -1,14 +1,13 @@
 language: cpp
 language: cpp
 
 
 os:
 os:
-  - osx
-osx_image: xcode61
+  - linux
 
 
 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: