mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-21 13:42:36 +08:00
28 lines
335 B
YAML
28 lines
335 B
YAML
|
version: 1.0.0.{build}
|
||
|
|
||
|
platform: x64
|
||
|
|
||
|
branches:
|
||
|
only:
|
||
|
- master
|
||
|
|
||
|
clone_folder: c:\gopath\src\github.com\rs\xid
|
||
|
|
||
|
environment:
|
||
|
GOPATH: c:\gopath
|
||
|
|
||
|
install:
|
||
|
- echo %PATH%
|
||
|
- echo %GOPATH%
|
||
|
- set PATH=%GOPATH%\bin;c:\go\bin;%PATH%
|
||
|
- go version
|
||
|
- go env
|
||
|
- go get -t .
|
||
|
|
||
|
build_script:
|
||
|
- go build
|
||
|
|
||
|
test_script:
|
||
|
- go test
|
||
|
|