-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
46 lines (43 loc) · 1.1 KB
/
.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
40
41
42
43
44
45
46
language: cpp
compiler: gcc
os: linux
python:
- 3.6
matrix:
# works on Precise and Trusty
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- deadsnakes
packages:
- g++-7
- wget
- libglu1-mesa-dev
- freeglut3-dev
- mesa-common-dev
- xorg-dev
- libglew-dev
- libx11-dev
- libxrandr-dev
- libxcursor-dev
- libxinerama-dev
- python3.6
- python3-pip
env:
- MATRIX_EVAL="CC=gcc-7 && CXX=g++-7"
before_install:
- eval "${MATRIX_EVAL}"
- wget https://github.com/premake/premake-core/releases/download/v5.0.0-alpha15/premake-5.0.0-alpha15-linux.tar.gz
- tar -xzvf premake-5.0.0-alpha15-linux.tar.gz
- chmod +x premake5
- pip install -r tools/requirements.txt
script: "./premake5 gmake --python=echo && cd build/gmake && make"
notifications:
email:
recipients:
on_success: never
on_failure: always