mirror of
https://github.com/MedzikUser/go-github-selfupdate.git
synced 2024-08-15 03:25:29 +00:00
run CI on Windows using AppVeyor
This commit is contained in:
parent
0d267357c7
commit
75e095f048
1 changed files with 21 additions and 0 deletions
21
.appveyor.yml
Normal file
21
.appveyor.yml
Normal file
|
@ -0,0 +1,21 @@
|
|||
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
|
||||
- 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
|
Loading…
Reference in a new issue