blob: 82bd2099391049bb6629b4fa8900fcaf2eb02c4c (
plain) (
blame)
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
|
box: golang
build:
steps:
- setup-go-workspace
- script:
name: go version
code: go version
- script:
name: install tools
code: |
go install github.com/mattn/goveralls@latest
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
- script:
name: go get
code: |
go get ./...
- script:
name: go build
code: |
go build ./...
- script:
name: golangci-lint
code: |
golangci-lint run
- script:
name: go test
code: |
go test ./...
- script:
name: coveralls
code: |
goveralls -v -service wercker.com -repotoken $COVERALLS_TOKEN
|