-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (29 loc) · 911 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
31
32
33
34
35
36
# i have no idea AT ALL on how to use travis,
# stolen from splewis: https://raw.githubusercontent.com/splewis/csgo-pug-setup/master/.travis.yml
# i'll fail anyways, right? :(
#
# me neither
# stolen from: https://github.com/shavitush/bhoptimer/blob/master/.travis.yml
sudo: false
addons:
apt_packages:
- lib32stdc++6 # needed for spcomp
env:
- SMVERSION=1.10
before_script:
# install smbuilder
- git clone https://github.com/splewis/sm-builder
- cd sm-builder
- pip install --user -r requirements.txt
- python setup.py install --prefix=~/.local
- cd ..
# install the sourcemod compiler
- SMPACKAGE="http://sourcemod.net/latest.php?os=linux&version=${SMVERSION}"
- wget $SMPACKAGE
- tar xfz $(basename $SMPACKAGE)
- cd addons/sourcemod/scripting/
- chmod +x spcomp
- PATH+=":$PWD"
- cd ../../..
script:
- smbuilder --flags="-E"