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

Commit d346a088 by Sushant

build: appveyor fix

1 parent eca35241
Showing with 2 additions and 6 deletions
...@@ -15,6 +15,7 @@ environment: ...@@ -15,6 +15,7 @@ environment:
install: install:
- ps: Install-Product node $env:NODE_VERSION x64 - ps: Install-Product node $env:NODE_VERSION x64
- npm ci - npm ci
- npm i --save-dev codecov
build: off build: off
...@@ -25,12 +26,7 @@ test_script: ...@@ -25,12 +26,7 @@ test_script:
- 'IF "%COVERAGE%" == "true" (npm run cover) ELSE (npm test)' - 'IF "%COVERAGE%" == "true" (npm run cover) ELSE (npm test)'
after_test: after_test:
- ps: | - npx codecov
$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"
}
branches: branches:
only: only:
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!