2017-08-15 17:42:09 +00:00
|
|
|
language: python
|
|
|
|
python:
|
|
|
|
- 2.7
|
|
|
|
install:
|
2017-08-16 14:07:51 +00:00
|
|
|
- sudo apt-get install cmake xorg-dev libglu1-mesa-dev texlive-xetex texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended pandoc imagemagick
|
2017-08-15 17:42:09 +00:00
|
|
|
- # Install glfw
|
|
|
|
- git clone https://github.com/glfw/glfw.git ~/glfw
|
|
|
|
- cd ~/glfw
|
|
|
|
- cmake .
|
|
|
|
- make
|
|
|
|
- sudo make install
|
|
|
|
- cd -
|
|
|
|
- # Install glslViewer
|
|
|
|
- git clone http://github.com/patriciogonzalezvivo/glslViewer ~/glslViewer
|
|
|
|
- cd ~/glslViewer
|
|
|
|
- make
|
|
|
|
- sudo make install
|
|
|
|
- cd -
|
|
|
|
before_script:
|
|
|
|
- export DISPLAY=:99.0
|
|
|
|
- sh -e /etc/init.d/xvfb start
|
|
|
|
- sleep 3 # give xvfb some time to start
|
2017-08-16 17:32:53 +00:00
|
|
|
- rm -rf 12 13 14 15 16 17 18 # ugly ...
|
2017-08-15 17:42:09 +00:00
|
|
|
script:
|
|
|
|
- make && [ -e book.pdf ]
|