Kaynağa Gözat

travis: enable building the OpenGL example

Philipp Zabel 7 yıl önce
ebeveyn
işleme
c1e63f35f1
1 değiştirilmiş dosya ile 5 ekleme ve 2 silme
  1. 5 2
      .travis.yml

+ 5 - 2
.travis.yml

@@ -13,12 +13,15 @@ compiler: gcc
 addons:
   apt:
     packages:
+      - libgl1-mesa-dev
+      - libglew-dev
       - libhidapi-dev
+      - libsdl2-dev
 
 before_install:
-  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install hidapi; fi
+  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install glew hidapi sdl2; fi
   - ./autogen.sh
 
 install: true # skip install step
 
-script: ./configure && make
+script: ./configure --enable-openglexample && make