-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
33 lines (27 loc) · 931 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
language: c
sudo: required
env:
global:
- INCLUDE=addons/sourcemod/scripting/include/
- SCRIPTING=addons/sourcemod/scripting/
- PLUGINS=addons/sourcemod/plugins/
before_install:
- sudo apt-get update
- sudo apt-get install gcc-multilib
- sudo apt-get install lynx
- sudo apt-get install lib32stdc++6
- mkdir build-env
install:
- cd build-env
- wget http://www.sourcemod.net/smdrop/1.7/sourcemod-1.7.3-git5303-linux.tar.gz
- tar -xzvf sourcemod-1.7.3-git5303-linux.tar.gz
- cd ../
- find build-env/addons/sourcemod/scripting/ -name "*.sp" -type f -delete
- cp -rv $SCRIPTING/. build-env/addons/sourcemod/scripting/
- cp -rv $INCLUDE/. build-env/addons/sourcemod/scripting/include/
before_script:
- chmod +rx build-env/addons/sourcemod/scripting/spcomp
- chmod +rx build-env/addons/sourcemod/scripting/compile.sh
- cd build-env/addons/sourcemod/scripting/
script:
- ./compile.sh