forked from FrederikP/csgo-ts-mover
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
32 lines (32 loc) · 1.52 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
language: c
before_install:
- sudo apt-get update
- sudo apt-get install gcc-multilib
- sudo apt-get install lynx
- sudo apt-get install lib32stdc++6
before_script:
- SMPATTERN="http:.*sourcemod-.*-linux.*"
- SMURL="http://www.sourcemod.net/smdrop/1.8/"
- SMPACKAGE=`lynx -dump "$SMURL" | egrep -o "$SMPATTERN" | tail -1`
- SMFILE=$(wget ${SMPACKAGE} -q -O -)
- wget "${SMURL}${SMFILE}"
- tar -xzf $SMFILE
- wget https://github.com/ErikMinekus/sm-ripext/releases/download/1.0.3/sm-ripext-1.0.3-linux.tar.gz
- tar -xzf sm-ripext-1.0.3-linux.tar.gz
- cp ts-mover.sp addons/sourcemod/scripting/
- cd addons/sourcemod/scripting/
- chmod +x spcomp
- chmod +x compile.sh
script:
- "./compile.sh"
after_script:
- ls compiled
deploy:
provider: releases
api_key:
secure: MXwS0TBvuGM+VahPTYrxmdJY/K2EyIOikDr/Z9yMcdI2yui7Y6T659X0Vm2Tv2/ntcBNuuBd67IeTuDToY47/VduhPdfnfpQ/4xtBkLQhoXNm2wlmWHHA7T1ISFdcxkj9QceyKvqqlnd2mSftDTZ6Htt1paKX8JhLnJDDce2VTFasXkUiHTqaq5xhx8sE5nkY5//fa6mAIElUQCTumM7+BHSWXj+AgqCXeLlysa0S9SyrHBR4NbFq8mnlK0N1QgXOug9j9NoLug5EDfKcoIg6zdG/oa7rIAAEIcDaA4VSGujG98CHcIGwbTjHJ7XNUK7sPoO03cxDe+HiRUBg3G92vcXFX0z8NhoxbFtkWZKtlrf+g77kiI51pNjZl4Bew/+BiFxbsH6zqSFgXoCNBGee+Fl9uXsj/QEeMrwY5CcxclaKLsitV6oitf2PnaPD0xmjndw//MOrA19JsMUrBc8zSpkUH0yUoU76ZT3KCPaFMXpdZQBtskFpjgSq9ILVOq9sUuVtAmt7ftIf9OcFvSZfejauJTgaLapVMH4HQWrDkna9EFoKi0pjubo38CGDaDOlXQJU3unkgjN4JOn2wqAWxcn9hMVCUM+yLY5fjDAGxX6HUvzaJwCRKgsx45UwvEotHwlVMACCz98WXqQKY0pqHuSTuVRFqKA0Pdre3xOjLM=
file: compiled/ts-mover.smx
on:
repo: FrederikP/csgo-ts-mover
tags: true
skip_cleanup: true