mirror of
https://gitee.com/gitea/gitea.git
synced 2024-12-15 18:10:50 +08:00
d77176912b
* Migrate to go modules * make vendor * Update mvdan.cc/xurls * make vendor * Update code.gitea.io/git * make fmt-check * Update github.com/go-sql-driver/mysql * make vendor
33 lines
639 B
YAML
Vendored
33 lines
639 B
YAML
Vendored
version: build-{build}.{branch}
|
|
|
|
clone_folder: C:\gopath\src\github.com\pkg\errors
|
|
shallow_clone: true # for startup speed
|
|
|
|
environment:
|
|
GOPATH: C:\gopath
|
|
|
|
platform:
|
|
- x64
|
|
|
|
# http://www.appveyor.com/docs/installed-software
|
|
install:
|
|
# some helpful output for debugging builds
|
|
- go version
|
|
- go env
|
|
# pre-installed MinGW at C:\MinGW is 32bit only
|
|
# but MSYS2 at C:\msys64 has mingw64
|
|
- set PATH=C:\msys64\mingw64\bin;%PATH%
|
|
- gcc --version
|
|
- g++ --version
|
|
|
|
build_script:
|
|
- go install -v ./...
|
|
|
|
test_script:
|
|
- set PATH=C:\gopath\bin;%PATH%
|
|
- go test -v ./...
|
|
|
|
#artifacts:
|
|
# - path: '%GOPATH%\bin\*.exe'
|
|
deploy: off
|