mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-26 21:14:07 +01:00
23 lines
263 B
YAML
23 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 .) <("")
|