.travis.yml 513 B

12345678910111213141516171819202122232425262728
  1. # This is the project file for the automated build system travis (travis-ci.com).
  2. matrix:
  3. include:
  4. - os: linux
  5. sudo: false
  6. dist: trusty
  7. - os: osx
  8. language: c
  9. compiler: gcc
  10. addons:
  11. apt:
  12. packages:
  13. - libgl1-mesa-dev
  14. - libglew-dev
  15. - libhidapi-dev
  16. - libsdl2-dev
  17. before_install:
  18. - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install glew hidapi sdl2; fi
  19. - ./autogen.sh
  20. install: true # skip install step
  21. script: ./configure --enable-openglexample && make