mirror of https://github.com/mindoc-org/mindoc.git
32 lines
676 B
YAML
32 lines
676 B
YAML
version: "{build}"
|
|
skip_tags: true
|
|
clone_folder: c:\gopath\src\github.com\lifei6671\godoc
|
|
clone_depth: 1
|
|
|
|
environment:
|
|
GOPATH: c:\gopath
|
|
GOVERSION: 1.8
|
|
|
|
|
|
build: false
|
|
deploy: true
|
|
|
|
install:
|
|
- ps: Start-FileDownload "http://libgd.blob.core.windows.net/mingw/x86_64-4.9.1-release-posix-seh-rt_v3-rev1.7z"
|
|
- ps: 7z x -oC:\ x86_64-4.9.1-release-posix-seh-rt_v3-rev1.7z | out-null
|
|
- set PATH=%PATH%;c:\mingw64\bin
|
|
- echo %PATH%
|
|
- echo %GOPATH%
|
|
- go version
|
|
- go env
|
|
- go get -d ./...
|
|
|
|
test_script:
|
|
- set GO_ENABLED=1
|
|
- go build -x -v -tags "pam" -ldflags "-w"
|
|
|
|
notifications:
|
|
- provider: Email
|
|
to:
|
|
- lifei6671@163.com
|
|
on_build_success: false |