From 4dd0682e094f7157de211190ee8d06d6fef6e1b5 Mon Sep 17 00:00:00 2001 From: Qi Xiao Date: Fri, 14 Sep 2018 13:36:39 +0100 Subject: [PATCH] Separate test and deploy stages on AppVeyor. --- .appveyor.yml | 4 +++- Makefile | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index b09fd64b..13302a5f 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -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 diff --git a/Makefile b/Makefile index ecbd34ad..4f50778d 100644 --- a/Makefile +++ b/Makefile @@ -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