-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
66 lines (66 loc) · 2.72 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
os: linux
dist: xenial
language: go
sudo: false
go:
- stable
before_install:
- go get golang.org/x/lint/golint
- go get honnef.co/go/tools/cmd/staticcheck
- GOOS=windows go get -u ./...
- go get -u ./...
jobs:
include:
- script: make all
- stage: Run Test Coverage
script: make cover
after_success: bash <(curl -s https://codecov.io/bash)
- stage: Build Release
script:
- make release
- echo "Deploying to GitHub releases ..."
deploy:
provider: releases
file:
- cross/feedster-darwin-amd64
- cross/feedster-darwin-amd64.md5
- cross/feedster-darwin-amd64.sha256
- cross/feedster-darwin-386
- cross/feedster-darwin-386.md5
- cross/feedster-darwin-386.sha256
- cross/feedster-freebsd-amd64
- cross/feedster-freebsd-amd64.md5
- cross/feedster-freebsd-amd64.sha256
- cross/feedster-freebsd-386
- cross/feedster-freebsd-386.md5
- cross/feedster-freebsd-386.sha256
- cross/feedster-linux-arm
- cross/feedster-linux-arm.md5
- cross/feedster-linux-arm.sha256
- cross/feedster-linux-arm64
- cross/feedster-linux-arm64.md5
- cross/feedster-linux-arm64.sha256
- cross/feedster-linux-amd64
- cross/feedster-linux-amd64.md5
- cross/feedster-linux-amd64.sha256
- cross/feedster-linux-386
- cross/feedster-linux-386.md5
- cross/feedster-linux-386.sha256
- cross/feedster-solaris-amd64
- cross/feedster-solaris-amd64.md5
- cross/feedster-solaris-amd64.sha256
- cross/feedster-windows-amd64.exe
- cross/feedster-windows-amd64.exe.md5
- cross/feedster-windows-amd64.exe.sha256
- cross/feedster-windows-386.exe
- cross/feedster-windows-386.exe.md5
- cross/feedster-windows-386.exe.sha256
skip_cleanup: true
on:
tags: true
github-token: "$GITHUB_TOKEN"
api_key:
secure: T1gy0RXkoIvO+J38VwoIcTVEC6PpJ7rVx3KJJUlRUDyeJFtAmyTw4FwFokFgpCOdEFo89ju3WJWoHdZU4dUjdmrKnM8wTAecwDkrLXoQxSK4eF/3bYFJpi4+zBxvlWBMAoklWT0Bgc9enjgZYISffispqH9wVw5/mCLXf2IXRwo6lEEBSQTFm3PoW7ZjtIAqcXSss/JPfGU2GXHiwvpZSQevDrcwy4jgse8jWTvyno1HVEXZK+cP048jqgMjaiSeM6zTJU/uUDh1tSXCsLJow+/NU+Qd/Ypr6htvd7OfEpRgR1+6mLC7YfnSAydPYzQl0kuXcJFs6P7QoMQsBV1ydPh5AynTRRj/BcJDh35GMvSHpG7RzxvF6S5/af7RNLSdUXKXSbR01LT1kNyn70PkoLG7wOItb1O3zOtRXcsI6YSKKQv/kXoqKIvcyjPTNVlJ9AoGYPjYmbNSUTuKcrbxFcoYVHrhNrFCTifTKjfzHKjqlCyAN7QDq466aaf1kWtcUg6G8CckZcipk5cos3MoA9+2hsQ9SPDt3eoNHqN91d0iSdQokmoa/J/ME7cFWxV+D+2u7rGtZ1twOnf0qnWyBfH1EVtGQWlccVoyWCA23vFgzyN7LLSr1xEt9th6U3poFBq6dEZnUNTBYjN3rn2E3Qr9MmRF6OfnrdyvFSE/Cl8=
# generated via:
# travis encrypt --com XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX --add deploy.api_key
# and manually moved to the above location