File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -30,8 +30,8 @@ before_install:
30
30
# allow windows to run scripts with node 14 and npm 7 (may not be necessary when node 14 is no longer lts)
31
31
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then npm config set script-shell c:/PROGRA~1/Git/bin/bash.exe ; fi
32
32
# workspaces require npm 7 or above
33
- - if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then c:/PROGRA~1/Git/bin/bash.exe -c "npm install -g npm@latest" ; fi
34
- - if [[ "$TRAVIS_OS_NAME" != "windows" ]]; then npm install -g npm@latest ; fi
33
+ - if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then export NPM_CONFIG_PREFIX=c:\\npm_prefix PATH="/c/npm_prefix:$PATH" ; fi
34
+ - npm install -g npm@latest
35
35
36
36
script : npx nyc -s npm run test -- -- -- -t node --bail
37
37
after_success : npx nyc report --reporter=text-lcov > coverage.lcov && npx codecov
You can’t perform that action at this time.
0 commit comments