-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshippable.yaml
28 lines (28 loc) · 1.51 KB
/
shippable.yaml
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
language: none
git:
depth: 1
# branches:
# except:
# - "/^travis_ok*.$/"
env:
global:
- secure: CzY0p/8Pb40VLOJ6FqZKG3T3VtBwaWTJassNBHVczxyr2zIpVbILbdfO6u9bwGNX+CWvvGslz1cX2G86/O7XnNOHcTaMvuzjCizX0HuszxobJVznQOocM6JtcuCdJOmoCSjuUgHywNHv1nEmAGp3Gka7Rxz+gPwNbMyFuvDmRfwRniw46eANb1+GzirPvPRMcRDa6S4HdLs8xOickcyRrOpE4FFgmnbOJH2x40bxRraVbHn0Gex6MCod73qX6aQaq+zVcWTUZ+AtZaGvE7L7LD4cunK8pkrtM2bv05MQc8cf/wpfQsHB/oVDJc+CQGMy5tjKnfvyZjjemIlrjguGow==
before_script:
- command -v astyle || apt-get install -y astyle
- command -v unzip || apt-get install -y unzip
- command -v mcpp || apt-get install -y mcpp
- wget https://github.com/Makopo/lslint/releases/download/v1.2.1/lslint_v1.2.1_linux.zip -O lslint.zip
- unzip lslint.zip
script:
# - mcpp -P "Kemono-Body-Script.lsl" | astyle --style=google --max-code-length=80 --indent=spaces=2 --indent-preproc-block --unpad-paren --delete-empty-lines --align-method-colon --pad-method-colon=all --close-templates --convert-tabs --indent-col1-comments > compiled/xenhat.kemono.body.lsl
# - "./lslint -m -i < compiled/xenhat.kemono.body.lsl"
- bash ./build.bash
post_script:
- ./lslint -m -w -z "compiled/xenhat.kemono.body.lsl"
after_success:
- git config credential.helper "store --file=.git/credentials"
- echo "https://${GH_TOKEN}:@github.com" > .git/credentials
# - git tag | grep ci-ignore | xargs -n 1 -i% git push origin :refs/tags/%
- git tag | grep ci-ignore | xargs -n 1 -I% git push origin :refs/tags/%
- git add compiled/xenhat.kemono.body.lsl
- bash ./travis-ci-git-commit.bash