forked from mcfletch/pyopengl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (34 loc) · 984 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
language: python
python:
- "2.7"
- "3.6"
- "3.7"
install:
- pip install pygame numpy cython pytest psutil
- pip install ./accelerate
- pip install .
addons:
apt:
packages:
- freeglut3-dev
- libgl1-mesa-dev
- libxcursor-dev
- libpulse-dev
- libxinerama-dev
- libxrandr-dev
- libxv-dev
- mesa-utils
- libgl1-mesa-glx
- mesa-common-dev
- libglapi-mesa
- libgbm1
- libgl1-mesa-dri
- libsdl1.2-dev
- libfreetype6-dev
before_install:
- sudo apt-get update -qq -y
- export DEBIAN_FRONTEND=noninteractive
- sudo apt-get -yq --force-yes install libgl1-mesa-dev libgl1-mesa-glx mesa-common-dev libglapi-mesa libgbm1 libgl1-mesa-dri mesa-utils
before_script:
- xvfb-run -s "-screen 0 640x480x24 +extension GLX +extension RENDER" glxinfo
script: xvfb-run -s "-screen 0 640x480x24 +extension GLX +extension RENDER" pytest -v tests