Skip to content

Commit 00613ef

Browse files
committed
chore: update windows commands
1 parent 1b85bf7 commit 00613ef

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.travis.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@ os:
1515
- windows
1616

1717
before_install:
18-
- if [ "$TRAVIS_OS_NAME" = "windows" ]; then which git ; fi
19-
- if [ "$TRAVIS_OS_NAME" = "windows" ]; then git --version ; fi
20-
- if [ "$TRAVIS_OS_NAME" = "windows" ]; then ls -l /c/PROGRA~1/Git/mingw64/libexec/git-core ; fi
18+
# prevents windows error: npm ERR! ... git-sh-setup: file not found
2119
- if [ "$TRAVIS_OS_NAME" = "windows" ]; then export PATH=/c/PROGRA~1/Git/usr/bin:/c/PROGRA~1/Git/mingw64/libexec/git-core:$PATH ; fi
2220

2321
script: npx nyc -s npm run test:node -- --bail

0 commit comments

Comments
 (0)