-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
49 lines (39 loc) · 1.2 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
40
41
42
43
44
45
46
47
48
49
# from https://github.com/50DKP/FF2-Official/blob/stable/.travis.yml
# changed to fit addons being in the top spot
# Set language
# language: c
# Use the new container-based infrastructure
sudo: false
# Install some apt packages needed for spcomp
addons:
apt_packages:
- lib32stdc++6
- gcc-multilib
# Set the build environment
env:
- SMVERSION=1.8 # Stable
- SMVERSION=1.9 # Unstable
- SMVERSION=1.10 # Unstable
before_install:
- mkdir build-env
# And compile!
install:
- cd build-env
- wget --input-file=https://sourcemod.net/smdrop/$SMVERSION/sourcemod-latest-linux
- tar -xzf $(cat sourcemod-latest-linux)
- ls
- cd ../
- rm build-env/addons/sourcemod/scripting/*.sp
- \cp -rv scripting/* build-env/addons/sourcemod/scripting/
# > /dev/null 2>&1
- \cp -rv scripting/include/* build-env/addons/sourcemod/scripting/include/
# > /dev/null 2>&1
before_script:
- chmod +rx build-env/addons/sourcemod/scripting/spcomp
- chmod +rx build-env/addons/sourcemod/scripting/compile.sh
- cd build-env/addons/sourcemod/scripting/
script: ./compile.sh
# Notifications
notifications:
email: false
webhooks: https://www.neogenesisnetwork.net/travis-ci.php