-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
30 lines (26 loc) · 1.04 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
#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
#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 "http://www.doctormckay.com/download/scripting/include/morecolors.inc" -O include/morecolors.inc
- wget "http://hg.limetech.org/projects/steamtools/raw-file/tip/plugin/steamtools.inc" -O include/steamtools.inc
- wget "https://bitbucket.org/GoD_Tony/updater/raw/default/include/updater.inc" -O include/updater.inc
- chmod +x spcomp
- mkdir compiled
script: ./compile.sh class_warfare.sp
#Notifications
notifications:
email: false