forked from FlaminSarge/Versus-Saxton-Hale
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
31 lines (30 loc) · 1.11 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
env:
- SMVERSION=1.7
- SMVERSION=1.8
matrix:
fast_finish: true
allow_failures:
- env: SMVERSION=1.8
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test > /dev/null
- sudo apt-get update -qq > /dev/null
- sudo apt-get install gcc-multilib lynx lib32stdc++6 -y > /dev/null
install:
- SMPATTERN="http:.*sourcemod-.*-git.*-linux.*"
- SMURL="http://www.sourcemod.net/smdrop/$SMVERSION/"
- SMPACKAGE=`lynx -dump "$SMURL" | egrep -o "$SMPATTERN" | tail -1`
- wget $SMPACKAGE
- tar -xzf $(basename "$SMPACKAGE")
- cd addons/sourcemod
before_script:
- cd ./scripting/include/
- wget "https://forums.alliedmods.net/attachment.php?attachmentid=141740" -O morecolors.inc
- wget "http://hg.limetech.org/projects/tf2items/tf2items_source/raw-file/tip/pawn/tf2items.inc" -O tf2items.inc
- wget "http://hg.limetech.org/projects/steamtools/raw-file/tip/plugin/steamtools.inc" -O steamtools.inc
- cd ../
- chmod +x spcomp
- mkdir compiled
script: ./compile.sh saxtonhale.sp
#Notifications
notifications:
email: false