不要怂,就是干,撸起袖子干!

Commit d346a088 by Sushant

build: appveyor fix

1 parent eca35241
Showing with 2 additions and 6 deletions
......@@ -15,6 +15,7 @@ environment:
install:
- ps: Install-Product node $env:NODE_VERSION x64
- npm ci
- npm i --save-dev codecov
build: off
......@@ -25,12 +26,7 @@ test_script:
- 'IF "%COVERAGE%" == "true" (npm run cover) ELSE (npm test)'
after_test:
- ps: |
$env:PATH = 'C:\Program Files\Git\usr\bin;' + $env:PATH
if (Test-Path env:\COVERAGE) {
Invoke-WebRequest -Uri 'https://codecov.io/bash' -OutFile codecov.sh
bash codecov.sh -f "coverage\lcov.info"
}
- npx codecov
branches:
only:
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!