mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-12-28 01:50:30 +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
|