forked from splewis/sm-misc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
39 lines (30 loc) · 1.01 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
37
38
39
sudo: false
addons:
apt_packages:
- lib32stdc++6 # needed for spcomp
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
- wget http://www.gsptalk.com/mirror/sourcemod/sourcemod-1.7.2-linux.tar.gz
- tar -xzf sourcemod-1.7.2-linux.tar.gz
- cd addons/sourcemod/scripting/
- chmod +x spcomp
- PATH+=":$PWD"
- cd include
# get pugsetup include
- wget https://raw.githubusercontent.com/splewis/csgo-pug-setup/master/scripting/include/pugsetup.inc
# get steamworks include
- wget https://raw.githubusercontent.com/KyleSanderson/SteamWorks/master/Pawn/includes/SteamWorks.inc
# install smlib
- git clone https://github.com/bcserv/smlib
- cp -r smlib/scripting/include/* .
- cd ../../../..
script:
- smbuilder --flags="-E"
notifications:
email: false