Separate test and deploy stages on AppVeyor.

This commit is contained in:
Qi Xiao 2018-09-14 13:36:39 +01:00
parent 7b47fdac67
commit 4dd0682e09
2 changed files with 5 additions and 3 deletions

View File

@ -14,4 +14,6 @@ install:
- choco install codecov
- go get github.com/mattn/goveralls
build_script:
- make appveyor
- make test
deploy_script:
- make coverage-appveyor

View File

@ -62,6 +62,6 @@ deploy-travis:
./_tools/deploy-travis.sh
coverage-travis: upload-codecov-travis upload-coveralls-travis
appveyor: testmain upload-codecov-appveyor upload-coveralls-appveyor
coverage-appveyor: upload-codecov-appveyor upload-coveralls-appveyor
.PHONY: default get buildall generate test testmain upload-codecov-travis upload-coveralls-travis upload-codecov-appveyor upload-coveralls-appveyor coverage-travis appveyor deploy-travis
.PHONY: default get buildall generate test testmain upload-codecov-travis upload-coveralls-travis upload-codecov-appveyor upload-coveralls-appveyor coverage-travis coverage-appveyor deploy-travis