gogs/appveyor.yml
ᴜɴᴋɴᴡᴏɴ 8796df8218
conf: add unit tests (#5954)
* conf: add tests for utils.go

* conf: add tests for static.go

* mock os/exec

* Run tests on Windows

* appveyor: fix gcc not found

* computed: add unit tests

* log: add unit tests

* log: fix tests on Windows

* conf: add some tests

* Finish adding tests

* Cover more cases

* Add tests for testutil

* Add more tests
2020-02-29 22:24:20 +08:00

21 lines
402 B
YAML

version: "{build}"
skip_tags: true
clone_folder: c:\gogs.io\gogs
clone_depth: 1
environment:
GO111MODULE: on
GOPROXY: https://proxy.golang.org
build: false
deploy: false
install:
- set PATH=C:\msys64\mingw64\bin;%PATH% # Fix "gcc" not found: https://github.com/appveyor/ci/issues/2613
- go version
- go env
- go build -tags "minwinsvc" -v
test_script:
- go test -v -race -cover ./...