Merge pull request #912 from eax0r/travis-fix

fix Travis not running due to missing package repositories
master
dumblob 2019-09-23 00:39:16 +02:00 committed by GitHub
commit 3e13d36678
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 7 deletions

View File

@ -1,16 +1,21 @@
language: c language: c
sudo: required
dist: xenial
os: os:
- linux - linux
compiler: compiler:
- gcc - gcc
- clang - clang
before_install: before_install:
- if [ $TRAVIS_OS_NAME == linux ]; then sudo add-apt-repository -y ppa:pyglfw/pyglfw && sudo apt-get update -qq && sudo apt-get install -y --no-install-recommends libglfw3 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 libglfw3-dev libglew-dev;
fi
script: script:
- make -C demo/glfw_opengl3 CFLAGS="-Wall -DINCLUDE_ALL" - make -C demo/glfw_opengl2
- make -C demo/glfw_opengl2 - make -C demo/glfw_opengl3
- make -C example - make -C example