forked from genuinetools/weather
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
67 lines (67 loc) · 2.62 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
67
---
language: go
sudo: false
notifications:
email: true
go:
- 1.6.x
- 1.7.x
- 1.8.x
- 1.9.x
- tip
env:
global:
- GO15VENDOREXPERIMENT=1
install:
- go get github.com/golang/lint/golint
- go get honnef.co/go/tools/cmd/staticcheck
script:
- go build -v
- go vet $(go list ./... | grep -v vendor)
- staticcheck $(go list ./... | grep -v vendor)
- test -z "$(golint ./... | grep -v vendor | tee /dev/stderr)"
- test -z "$(gofmt -s -l . | grep -v vendor | tee /dev/stderr)"
- go test $(go list ./... | grep -v vendor)
- make release
deploy:
provider: releases
api_key:
secure: "C78vOwW6YqKqSRYr+z2Rus2UsWaq57ntFKuORFo8UKw4eK5Nfbr4ysx5n47j0nyGE6SFGEGzlSQZtoHHQFzv6KTkK8PIkrewYLK8ESeEr09EjTgUjeU0olDHioMiI5z3xrb1rbLEVfOY/axyqRovKgqlTIRf8eRm0jdlNaFJ9v8bgxNMylKG24sezNhO+ORon66lYXrsZ10bd9mPyC4zYr5pV1OQjbxV1VB0ym3abRVSvlOtTUkG98ILLuO6FpHPbVYJcnnrDoTWvt2JxPkIECM2WShOlsiQdncO33CbOca6z6B6VYUAzPo1uzzsGn71MqeQV/wnqIZNj31F1wdSu72LxdjUfJSrKFnKckJGdxiS56OhFmC6v5YZeylruucUGM5dwpoKtH6SiR9QpoGWEkhrhTHyGa2QAoQovk1XRw0WQ7GrzpYK1LPOstuL37dPQLhENZ0O9yd0Tsm3YBzFSDP9J5lCyRuZv4ENDutxWs/oiGTNRp47PHYdANH7USG83UOpwSImZGQWBzWdSwfsWeGV4E0T0LLNSwVi5HeBSdTa+YAd62/PHaB5u+hDmcKEUodjWwMwUylO1m4wjqCinegC/RGkSLH2h3j8kUlWOSnyTrKhczyEaISixQsYBf1qwIj9nRf3XMHzXyxuBlqmNeHb9OZjD8lw8mLEmtlbBeI="
file:
- cross/weather-linux-amd64.md5
- cross/weather-windows-386.sha256
- cross/weather-linux-arm
- cross/weather-darwin-amd64.md5
- cross/weather-darwin-amd64
- cross/weather-solaris-amd64.md5
- cross/weather-linux-arm64.sha256
- cross/weather-linux-arm.sha256
- cross/weather-linux-386.sha256
- cross/weather-darwin-386.md5
- cross/weather-windows-386.md5
- cross/weather-freebsd-amd64.md5
- cross/weather-linux-arm64.md5
- cross/weather-linux-arm64
- cross/weather-freebsd-amd64.sha256
- cross/weather-freebsd-386.md5
- cross/weather-linux-amd64.sha256
- cross/weather-linux-386.md5
- cross/weather-freebsd-386
- cross/weather-solaris-amd64.sha256
- cross/weather-windows-amd64
- cross/weather-windows-amd64.md5
- cross/weather-windows-amd64.sha256
- cross/weather-linux-arm.md5
- cross/weather-darwin-386.sha256
- cross/weather-darwin-amd64.sha256
- cross/weather-windows-386
- cross/weather-solaris-amd64
- cross/weather-darwin-386
- cross/weather-linux-386
- cross/weather-freebsd-amd64
- cross/weather-freebsd-386.sha256
- cross/weather-linux-amd64
skip_cleanup: true
on:
go: tip
tags: true