25 lines
651 B
YAML
25 lines
651 B
YAML
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://sourcemod.net/latest.php?os=linux&version=1.10" -O sourcemod.tar.gz
|
|
- tar xfz sourcemod.tar.gz
|
|
- rm addons/sourcemod/scripting/*.sp
|
|
- cp -rv scripting addons/sourcemod/
|
|
- cd addons/sourcemod/scripting/
|
|
- chmod +x spcomp
|
|
- chmod +x compile.sh
|
|
|
|
script:
|
|
- ./compile.sh
|