-
-
Notifications
You must be signed in to change notification settings - Fork 18
/
.travis.yml
35 lines (35 loc) · 1.66 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
language: go
go:
#- master
- 1.11.x
install:
- env GO111MODULE=on go mod download
- go get -u github.com/jteeuwen/go-bindata/...
# snyk (on non pull requests)
#- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then npm install npm -g && npm install -g snyk && snyk test; fi'
script:
- env GO111MODULE=on bash format_go.sh
- env GO111MODULE=on go-bindata -nomemcopy -nocompress -pkg helpers -o helpers/assets.go _assets/
- env GO111MODULE=on go test -v -race $(go list ./... | grep -v /vendor/)
after_success:
# snyk (on non pull requests)
#- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then snyk monitor; fi'
deploy:
provider: releases
api_key:
secure: BZnS+tH7kCy2Jpzl5ctIIlQqurIlLvJVw5Pn2tkjEnQlnEQZUW7dEI/eejz1Tw1NNjuxdfJRzgkTNI7sRM6VjtuoTzq772TuxncTv4Oy/t/S3zaBthMMl/8Ug+VW2Py/A6LO8YDVpEaIIenyUTsmPG99HJd7jjW+qCh3npfjvWvf4Qe3FL0cNOH6l9ptA77Fcu1j7yXOUqCpxVtLL8sRe9qTsciUGT8eSAaHLBKbUxcw4TMn4P7G1/6b4tfkm1aQZX5cJROccdYt6FY5z1hNUUUN3e1bn1Hj/iY2zUZm1F4LHC5AcfZFUu/fAGhoLbB1B/hEZ4zrE7RLKaCR1vWCbr54/Xn+uWdDWPL6dbJ3EzCIuDtGDoHAJBfRos9HsCdfizB5A/yg0OS3RscK7Umh+gEznJyQCvAIbndAaryxKeOxVPd6tIdoW0fi0yaWmq9UHKVUt7lLd8rxlGWhGh6/GPLCME7+EAR84RyvP7e6VUHxUSnB3bly3oeJZd/QZpHmrIPqE6K9iobDJyERjNd+Bvuay8bw65NcqR9ZtAYlK7tUYxyEhw23fyybrwTB7ONUu/DDUSLQrtP7YvhtGnxMS+cU4O5GZrkuIP7urUS5KAnYbzb5I3F1Bk8PDLNFEdsGUOKq9U5ywRypmVfSxldGQHvEl4x1CO3E3zJEhkDOIaI=
file: robyul2-amd64.exe
skip_cleanup: true
on:
repo: Seklfreak/Robyul2
tags: true
go: tip
notifications:
webhooks:
urls:
- https://slmn.de/robyul-cord-travis-webhook/travis-ci.php
on_success: always
on_failure: always
on_start: never
on_cancel: always
on_error: always