-
Notifications
You must be signed in to change notification settings - Fork 11
/
.travis.yml
80 lines (75 loc) · 2.05 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
language: c++
os: linux
dist: focal
services:
- xvfb
env:
matrix:
- TRAVIS_NO_EMPTY_JOB=true
matrix:
exclude:
- env: TRAVIS_NO_EMPTY_JOB=true
include:
- env: COMPILER=g++ JOBS=1 TEST_TYPE=configure-gl TEST_LEVEL=minimal GL_LIBS=all-apis EAGINE_CLANG_TIDY=clang-tidy-10
addons:
apt:
packages:
- python3
- pkgconf
- cmake
- make
- g++
- clang-tidy-10
- mesa-common-dev
- libgl1-mesa-dev
- libglew-dev
- libglfw3-dev
- libssl-dev
- libpng-dev
- libsystemd-dev
- env: COMPILER=g++ JOBS=2 TEST_TYPE=ctest TEST_LEVEL=minimal GL_LIBS=default EAGINE_CLANG_TIDY=clang-tidy-10
addons:
apt:
packages:
- python3
- pkgconf
- cmake
- make
- g++
- clang-tidy-10
- libboost-test-dev
- mesa-common-dev
- libgl1-mesa-dev
- libegl1-mesa-dev
- libglew-dev
- libglfw3-dev
- libssl-dev
- libpng-dev
- libsystemd-dev
- libopenal-dev
- libalut-dev
- env: COMPILER=g++ JOBS=4 TEST_TYPE=build-examples TEST_LEVEL=minimal GL_LIBS=default EAGINE_CLANG_TIDY=clang-tidy-10
addons:
apt:
packages:
- python3
- pkgconf
- cmake
- make
- g++
- clang-tidy-10
- libboost-test-dev
- mesa-common-dev
- libgl1-mesa-dev
- libegl1-mesa-dev
- libglew-dev
- libglfw3-dev
- libssl-dev
- libpng-dev
- libsystemd-dev
- libopenal-dev
- libalut-dev
script:
- xvfb-run --auto-servernum ./tools/run_tests.py --max-jobs ${JOBS} --test-type=${TEST_TYPE} --test-level=${TEST_LEVEL} --gl-libs=${GL_LIBS} --config --cmake -DCMAKE_CXX_COMPILER=${COMPILER}
notifications:
email: false