go-github-selfupdate/.appveyor.yml
2018-03-22 05:21:24 +09:00

24 lines
751 B
YAML

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 ./...
- cd %GOPATH%\src\github.com\google\go-github && git reset --hard 08e68b5 && cd %GOPATH%\src\github.com\rhysd\go-github-selfupdate
build: off
test_script:
- go build ./selfupdate
- go build ./cmd/selfupdate-example
- go build ./cmd/detect-latest-release
- go build ./cmd/go-get-release/
- 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