2017-12-30 04:38:11 +00:00
|
|
|
version: "{build}"
|
|
|
|
clone_depth: 1
|
|
|
|
clone_folder: c:\gopath\src\github.com\rhysd\go-github-selfupdate
|
|
|
|
environment:
|
|
|
|
GOPATH: c:\gopath
|
|
|
|
install:
|
|
|
|
- echo %PATH%
|
|
|
|
- echo %GOPATH%
|
|
|
|
- go version
|
|
|
|
- go env
|
|
|
|
- go get -v -t -d ./...
|
|
|
|
build: off
|
|
|
|
test_script:
|
|
|
|
- go build ./selfupdate
|
|
|
|
- go build ./cmd/selfupdate-example
|
2017-12-30 07:14:06 +00:00
|
|
|
- go build ./cmd/detect-latest-release
|
2017-12-30 08:31:49 +00:00
|
|
|
- go build ./cmd/go-get-release/
|
2017-12-30 04:38:11 +00:00
|
|
|
- go test -v -race -coverprofile=coverage.txt ./selfupdate
|
|
|
|
after_test:
|
|
|
|
- "SET PATH=C:\\Python34;C:\\Python34\\Scripts;%PATH%"
|
|
|
|
- pip install codecov
|
|
|
|
- codecov -f "coverage.txt"
|
|
|
|
deploy: off
|