Skip to content

Commit

Permalink
Merge pull request vurtun#912 from eax0r/travis-fix
Browse files Browse the repository at this point in the history
fix Travis not running due to missing package repositories
  • Loading branch information
dumblob authored Sep 22, 2019
2 parents 51f793b + 250dd4e commit 3e13d36
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,21 @@
language: c
sudo: required
dist: xenial

os:
- linux
- linux

compiler:
- gcc
- clang
- gcc
- clang

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:
- make -C demo/glfw_opengl3 CFLAGS="-Wall -DINCLUDE_ALL"
- make -C demo/glfw_opengl2
- make -C example
- make -C demo/glfw_opengl2
- make -C demo/glfw_opengl3
- make -C example

0 comments on commit 3e13d36

Please sign in to comment.