mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-30 00:01:24 +00:00
24 lines
263 B
YAML
24 lines
263 B
YAML
sudo: false
|
|
|
|
language: go
|
|
|
|
go:
|
|
- 1.3.x
|
|
- 1.4.x
|
|
- 1.5.x
|
|
- 1.6.x
|
|
- 1.7.x
|
|
- 1.8.x
|
|
- 1.9.x
|
|
- 1.10.x
|
|
- 1.11.x
|
|
- 1.12.x
|
|
|
|
env:
|
|
- GO111MODULE=on
|
|
|
|
# Get deps, build, test, and ensure the code is gofmt'ed.
|
|
script:
|
|
- go test -v ./...
|
|
- diff <(gofmt -d .) <("")
|