Skip to content

Commit 50f992d

Browse files
committed
chore: wat
1 parent d533843 commit 50f992d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ before_install:
3030
# allow windows to run scripts with node 14 and npm 7 (may not be necessary when node 14 is no longer lts)
3131
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then npm config set script-shell c:/PROGRA~1/Git/bin/bash.exe ; fi
3232
# 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
3535

3636
script: npx nyc -s npm run test -- -- -- -t node --bail
3737
after_success: npx nyc report --reporter=text-lcov > coverage.lcov && npx codecov

0 commit comments

Comments
 (0)