File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11language : c
2+ sudo : required
3+ dist : xenial
24
35os :
4- - linux
6+ - linux
57
68compiler :
7- - gcc
8- - clang
9+ - gcc
10+ - clang
911
1012before_install :
11- - 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
13+ - if [ $TRAVIS_OS_NAME == linux ]; then
14+ sudo apt-get update -qq;
15+ sudo apt-get install -y --no-install-recommends libglfw3 libglfw3-dev libglew-dev;
16+ wget https://github.com/glfw/glfw/releases/download/3.3/glfw-3.3.zip;
17+ unzip glfw-3.3.zip && cd glfw-3.3;
18+ cmake -DBUILD_SHARED_LIBS=true -DGLFW_BUILD_EXAMPLES=false -DGLFW_BUILD_TESTS=false -DGLFW_BUILD_DOCS=false .;
19+ sudo make -j $CPU_NUM install && cd ..;
20+ fi
1221
1322script :
14- - make -C demo/glfw_opengl3 CFLAGS="-Wall -DINCLUDE_ALL"
15- - make -C demo/glfw_opengl2
16- - make -C example
23+ - make -C demo/glfw_opengl2
24+ - make -C demo/glfw_opengl3
25+ - make -C example
You can’t perform that action at this time.
0 commit comments