mirror of
https://github.com/gogs/gogs.git
synced 2025-05-01 05:01:40 +00:00
* 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
21 lines
402 B
YAML
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 ./...
|