forked from sbpp/sourcebans-pp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
30 lines (25 loc) · 826 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
#Use the new container-based infrastructure
sudo: false
language: sourcepawn
#Install some apt packages needed for spcomp
addons:
apt_packages:
- lib32stdc++6
matrix:
allow_failures:
- env: SOURCEMOD=1.10
#Set the build environment
env:
- SOURCEMOD=1.8
- SOURCEMOD=1.9
- SOURCEMOD=1.10
#And compile!
before_script:
- wget "http://www.sourcemod.net/latest.php?version=$SOURCEMOD&os=linux" -O game/sourcemod-$SOURCEMOD-linux.tar.gz
- cd game
- tar -xzf sourcemod-$SOURCEMOD-linux.tar.gz
- cd addons/sourcemod/scripting/
- wget https://bitbucket.org/GoD_Tony/updater/raw/53ebb3e27e5a43bc46dc52dc0de76ac2fb48cd9e/include/updater.inc -O include/updater.inc
- chmod +x spcomp
script:
- ./compile.sh sbpp_main.sp sbpp_admcfg.sp sbpp_comms.sp sbpp_checker.sp sbpp_sleuth.sp sbpp_report.sp