mirror of
https://github.com/patriciogonzalezvivo/thebookofshaders
synced 2024-11-03 23:15:23 +00:00
25 lines
645 B
YAML
25 lines
645 B
YAML
|
language: python
|
||
|
python:
|
||
|
- 2.7
|
||
|
install:
|
||
|
- sudo apt-get install cmake xorg-dev libglu1-mesa-dev texlive-xetex texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended pandoc
|
||
|
- # 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
|
||
|
script:
|
||
|
- make && [ -e book.pdf ]
|