This repository has been archived by the owner on Jun 9, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
/
.travis.yml
46 lines (41 loc) · 1.84 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
# Use the new container-based infrastructure
sudo: false
# Install some apt packages needed for spcomp
addons:
apt_packages:
- lib32stdc++6
# Set the build environment
env:
- SMVERSION=1.7 # Legacy
- SMVERSION=1.8 # Stable
- SMVERSION=1.9 # Unstable
# And compile!
install:
- wget --input-file=http://sourcemod.net/smdrop/$SMVERSION/sourcemod-latest-linux
- tar -xzf $(cat sourcemod-latest-linux)
before_script:
- cd addons/sourcemod/scripting/
- wget "https://raw.githubusercontent.com/asherkin/TF2Items/master/pawn/tf2items.inc" -O include/tf2items.inc
- wget "http://www.doctormckay.com/download/scripting/include/morecolors.inc" -O include/morecolors.inc
- wget "https://raw.githubusercontent.com/asherkin/SteamTools/master/plugin/steamtools.inc" -O include/steamtools.inc
- wget "https://bitbucket.org/GoD_Tony/updater/raw/default/include/updater.inc" -O include/updater.inc
- wget "https://forums.alliedmods.net/attachment.php?attachmentid=116849&d=1377667508" -O include/tf2attributes.inc
- wget "https://raw.githubusercontent.com/50DKP/FF2-Official/master/addons/sourcemod/scripting/include/freak_fortress_2.inc" -O include/freak_fortress_2.inc
- wget "https://raw.githubusercontent.com/Chdata/Versus-Saxton-Hale/master/addons/sourcemod/scripting/include/saxtonhale.inc" -O include/saxtonhale.inc
- chmod +x spcomp
script: ./compile.sh tf2x10.sp
# Github Releases
deploy:
provider: releases
api_key:
secure: e//ORGbgqcw95Ft9cB0pF21WLmk5gMVPiC5bczBkKUyBxhTaBnn0ZA6tdzewWt8KEiQ8FYTX26JKHDVBzet7YVLe4frg0DvQu9H65IBe3lOUL+PsgEH/FOyC6fP0AYts418LPZNRcsWrStrTrALw3bTvAI/zDQbqPT/sQgQjpWU=
file:
- compiled/tf2x10.smx
- ../configs/x10.default.txt
- tf2x10.sp
skip_cleanup: true
on:
repo: 50DKP/TF2x10
tags: true
notifications:
email: false