mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-15 10:51:45 +03:00
9fe4437bda
* Use vendored go-swagger * vendor go-swagger * revert un wanteed change * remove un-needed GO111MODULE * Update Makefile Co-Authored-By: techknowlogick <matti@mdranta.net>
31 lines
429 B
YAML
31 lines
429 B
YAML
go_import_path: github.com/spf13/viper
|
|
|
|
language: go
|
|
|
|
env:
|
|
global:
|
|
- GO111MODULE="on"
|
|
|
|
go:
|
|
- 1.11.x
|
|
- tip
|
|
|
|
os:
|
|
- linux
|
|
- osx
|
|
|
|
matrix:
|
|
allow_failures:
|
|
- go: tip
|
|
fast_finish: true
|
|
|
|
script:
|
|
- go install ./...
|
|
- diff -u <(echo -n) <(gofmt -d .)
|
|
- go test -v ./...
|
|
|
|
after_success:
|
|
- go get -u -d github.com/spf13/hugo
|
|
- cd $GOPATH/src/github.com/spf13/hugo && make && ./hugo -s docs && cd -
|
|
|
|
sudo: false
|