Skip to content

Commit a73374d

Browse files
committed
make AppVeyor retry failed runs.
Tests are just too brittle on AppVeyor. `npm install` fails frequently, and Node on Windows does not seem to reliably flush stdout/stderr of forked child processes. I don't like this, but I'm at a loss for other solutions.
1 parent 78a6c56 commit a73374d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

appveyor.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ environment:
77
install:
88
- ps: Install-Product node $env:nodejs_version
99
- set CI=true
10-
- npm -g install npm@latest
10+
- npm -g install npm@latest || (timeout 30 && npm -g install npm@latest)
1111
- set PATH=%APPDATA%\npm;%PATH%
12-
- npm install
12+
- npm install || (timeout 30 && npm install)
1313
matrix:
1414
fast_finish: true
1515
build: off
@@ -19,4 +19,4 @@ clone_depth: 1
1919
test_script:
2020
- node --version
2121
- npm --version
22-
- npm run test-win
22+
- npm run test-win || (timeout 30 && npm run test-win)

0 commit comments

Comments
 (0)