-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy path.travis.yml
34 lines (29 loc) · 1.45 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
language: c
dist: bionic
env:
- SMVERSION=1.7
- SMVERSION=1.8
- SMVERSION=1.9
- SMVERSION=1.10
matrix:
fast_finish: true
allow_failures:
- env: SMVERSION=1.7
before_install:
- sudo apt-get update
- sudo apt-get install gcc-multilib
- sudo apt-get install lib32stdc++6
before_script:
- wget -q "http://www.sourcemod.net/latest.php?version=$SMVERSION&os=linux" -O sourcemod.tar.gz
- tar -xzf sourcemod.tar.gz
- cd addons/sourcemod/scripting/
- mkdir include/ripext
- curl "https://raw.githubusercontent.com/CrazyHackGUT/sm-ripext/master/pawn/scripting/include/ripext.inc" -o include/ripext.inc
- curl "https://raw.githubusercontent.com/CrazyHackGUT/sm-ripext/master/pawn/scripting/include/ripext/http.inc" -o include/ripext/http.inc
- curl "https://raw.githubusercontent.com/CrazyHackGUT/sm-ripext/master/pawn/scripting/include/ripext/json.inc" -o include/ripext/json.inc
- curl "https://raw.githubusercontent.com/sbpp/sourcebans-pp/223612954bf7c8feb99c7fc4954476201a09a688/game/addons/sourcemod/scripting/include/sourcebans.inc" -o include/sourcebans.inc
- curl "https://raw.githubusercontent.com/sbpp/sourcebans-pp/v1.x/game/addons/sourcemod/scripting/include/sourcecomms.inc" -o include/sourcecomms.inc
- chmod +x spcomp
- chmod +x compile.sh
script:
- ./compile.sh discord.sp discord_test.sp discord_sb.sp discord_report.sp discord_logsessionadmin.sp