mirror of
https://gitea.com/Sirherobrine23/tea.git
synced 2024-08-21 22:37:26 +00:00
20 lines
364 B
YAML
20 lines
364 B
YAML
|
language: go
|
||
|
go:
|
||
|
- 1.11.x
|
||
|
- 1.12.x
|
||
|
- 1.13.x
|
||
|
os:
|
||
|
- linux
|
||
|
- osx
|
||
|
- windows
|
||
|
env:
|
||
|
- GO111MODULE=on
|
||
|
git:
|
||
|
autocrlf: false
|
||
|
before_install:
|
||
|
- go get -t -v ./...
|
||
|
- go install github.com/golangci/golangci-lint/cmd/golangci-lint
|
||
|
script:
|
||
|
- golangci-lint run --enable-all -D wsl -D gochecknoinits -D gochecknoglobals -D prealloc
|
||
|
- go test -v -race ./...
|