Skip to content

Commit

Permalink
fix: fix nyc on circle
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Feb 1, 2018
1 parent f33a88d commit 8257b7a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions templates/appveyor.yml.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@ install:
- git submodule update --init --recursive
- git config --global user.email "anycli@example.com"
- git config --global user.name "anycli"
- yarn add -D nyc @anycli/nyc-config
- yarn add -D nyc@11 @anycli/nyc-config@0
test_script:
<%_ if (type === 'single' || type === 'multi') { _%>
- .\bin\run --version
- .\bin\run --help
<%_ } else if (type === 'plugin') { _%>
- .\bin\run --help
<%_ } _%>
- yarn exec nyc -- --nycrc-path node_modules/@anycli/nyc-config/.nycrc yarn test
- .\node_modules\.bin\nyc --nycrc-path node_modules/@anycli/nyc-config/.nycrc yarn test
after_test:
- yarn exec nyc -- --nycrc-path node_modules/@anycli/nyc-config/.nycrc report --reporter text-lcov > coverage.lcov
- .\node_modules\.bin\nyc --nycrc-path node_modules/@anycli/nyc-config/.nycrc report --reporter text-lcov > coverage.lcov
- ps: |
$env:PATH = 'C:\msys64\usr\bin;' + $env:PATH
Invoke-WebRequest -Uri 'https://codecov.io/bash' -OutFile codecov.sh
Expand Down

0 comments on commit 8257b7a

Please sign in to comment.