mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-14 14:49:32 +01:00
18 lines
275 B
YAML
18 lines
275 B
YAML
|
sudo: false
|
||
|
|
||
|
language: go
|
||
|
|
||
|
before_script:
|
||
|
- go get -u golang.org/x/lint/golint
|
||
|
|
||
|
go:
|
||
|
- 1.10.x
|
||
|
- master
|
||
|
|
||
|
script:
|
||
|
- test -z "$(gofmt -s -l . | tee /dev/stderr)"
|
||
|
- test -z "$(golint ./... | tee /dev/stderr)"
|
||
|
- go vet ./...
|
||
|
- go build -v ./...
|
||
|
- go test -v ./...
|