forked from JacksonTech/map-chasm
/
.travis.yml
40 lines (31 loc) · 1.09 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
sudo: required
os:
- linux
dist:
- xenial
language:
- c
compiler:
- gcc
python:
- "3.7.1"
env:
- PATH=${PATH}:${DEPS}/netradiant/build:${DEPS}/urcheon/bin PAKPATH=/deps/paks DEPS=${PWD}/../DEPS
install:
- sudo apt-get install libx11-dev libxml2-dev libwebp-dev libjpeg-dev libminizip-dev
- sudo apt-get install imagemagick webp opus-tools
- pip install --user pillow pytoml psutil colorama
- mkdir -p ${DEPS}/paks
- git add urcheon --depth 1 https://github.com/DaemonEngine/Urcheon ${DEPS}/urcheon
- git add netradiant --depth 1 https://gitlab.com/xonotic/netradiant.git ${DEPS}/netradiant
- git add tex-common --depth 1 https://github.com/UnvanquishedAssets/tex-common_src.dpkdir.git ${DEPS}/paks/tex-common_src.dpkdir
- cmake cmake -G "Unix Makefiles" -H${DEPS}/netradiant -B${DEPS}/netradiant/build -DCMAKE_BUILD_TYPE=Release
- cmake --build ${DEPS}/netradiant/build -- -j$(nproc) q3map2
script:
- urcheon build -mp leaktest .
#notifications:
# irc:
# - "irc.freenode.org#unvanquished-dev"
# - "irc.quakenet.org#unvanquished"
# on_success: change
# on_failure: always