aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2019-08-07 22:09:18 +0200
committerGitHub <noreply@github.com>2019-08-07 22:09:18 +0200
commit0167c2e0c9d5bb90f1539f1780e2b986bbe75f11 (patch)
tree7f0ad5206b311e3633132871dd933a2dbc432161
parent1d6e368159e4c92bf2b3f0004eb2f42215b61813 (diff)
downloadrneovim-0167c2e0c9d5bb90f1539f1780e2b986bbe75f11.tar.gz
rneovim-0167c2e0c9d5bb90f1539f1780e2b986bbe75f11.tar.bz2
rneovim-0167c2e0c9d5bb90f1539f1780e2b986bbe75f11.zip
ci: AppVeyor: fix upload of coverage for oldtest (#10721)
This was not working due to having another `python` in the PATH then. Ref: https://ci.appveyor.com/project/neovim/neovim/builds/26492761/job/dspm40v5l2v6gn40?fullLog=true#L15955
-rw-r--r--ci/build.ps12
1 files changed, 2 insertions, 0 deletions
diff --git a/ci/build.ps1 b/ci/build.ps1
index da1ad2f4b6..42066c462b 100644
--- a/ci/build.ps1
+++ b/ci/build.ps1
@@ -137,8 +137,10 @@ if ($uploadToCodecov) {
# Old tests
# Add MSYS to path, required for e.g. `find` used in test scripts.
# But would break functionaltests, where its `more` would be used then.
+$OldPath = $env:PATH
$env:PATH = "C:\msys64\usr\bin;$env:PATH"
& "C:\msys64\mingw$bits\bin\mingw32-make.exe" -C $(Convert-Path ..\src\nvim\testdir) VERBOSE=1
+$env:PATH = $OldPath
if ($uploadToCodecov) {
bash -l /c/projects/neovim/ci/common/submit_coverage.sh oldtest