forked from FlaminSarge/Versus-Saxton-Hale
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
36 lines (31 loc) · 1.17 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
#Use the new container-based infrastructure
sudo: false
#Install some apt packages needed for spcomp
addons:
apt_packages:
- lib32stdc++6
#Set the build environment
env:
- SMVERSION=1.7
- SMVERSION=1.8
#Allow the experimental branch to fail
matrix:
fast_finish: true
allow_failures:
- env: SMVERSION=1.8
#And compile!
install:
- wget http://sourcemod.net/smdrop/$SMVERSION/ -O - | grep "\.tar\.gz" | sed 's/^.*"sourcemod/sourcemod/;s/\.tar\.gz".*$/.tar.gz/' | tail --lines=1 > sourcemod
- wget --input-file=sourcemod --base=http://sourcemod.net/smdrop/$SMVERSION/
- tar -xzf $(cat sourcemod)
before_script:
- cd addons/sourcemod/scripting/
- wget "https://forums.alliedmods.net/attachment.php?attachmentid=141740" -O include/morecolors.inc
- wget "http://hg.limetech.org/projects/tf2items/tf2items_source/raw-file/tip/pawn/tf2items.inc" -O include/tf2items.inc
- wget "https://code.limetech.org/diffusion/ST/browse/master/plugin/steamtools.inc?view=raw" -O include/steamtools.inc
- chmod +x spcomp
- mkdir compiled
script: ./compile.sh saxtonhale.sp
#Notifications
notifications:
email: false