mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-23 12:16:38 +00:00
18 lines
343 B
YAML
18 lines
343 B
YAML
|
language: go
|
||
|
|
||
|
go:
|
||
|
- "1.14"
|
||
|
- "1.13"
|
||
|
git:
|
||
|
depth: 1
|
||
|
|
||
|
install:
|
||
|
- go install -race std
|
||
|
- go install golang.org/x/tools/cmd/cover
|
||
|
- go install golang.org/x/lint/golint
|
||
|
- export PATH=$HOME/gopath/bin:$PATH
|
||
|
|
||
|
script:
|
||
|
- golint .
|
||
|
- go test -cover -race -count=1 -timeout=30s -run .
|
||
|
- cd bench; go test -run=Bench.* -bench=. -benchmem
|