blob: ad90dac373f7e8db906342b04bb0eddf2a9fbad1 (
plain)
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
|
cache:
go: true
directories:
- $HOME/.cache
- $HOME/bin
- $HOME/gopath/pkg/mod
language: go
go:
- 1.11
- 1.12
- 1.13
- 1.14
- 1.x
- master
install: true
script: GO111MODULE=on go test -race
matrix:
include:
- go: 1.x
env: task=coverage
script: GO111MODULE=on go test -race -covermode=atomic -coverprofile=coverage.txt
after_success: bash <(curl -s https://codecov.io/bash)
- go: 1.x
env: task=bench
script: GO111MODULE=on ./script/bench
- go: 1.x
install: curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s -- -b $HOME/bin v1.19.1
env: task=clean
script: GO111MODULE=on ./script/clean
|