File tree Expand file tree Collapse file tree 2 files changed +3
-19
lines changed Expand file tree Collapse file tree 2 files changed +3
-19
lines changed Original file line number Diff line number Diff line change @@ -28,8 +28,6 @@ platform:
28
28
- x64
29
29
30
30
install:
31
- # TODO: Remove after https://github.com/appveyor/ci/issues/1426 is fixed
32
- - set PATH=C:\Program Files\Git\mingw64\bin;%PATH%
33
31
- ps: Install-Product node $env:nodejs_version $env:platform
34
32
35
33
build: off
@@ -41,4 +39,4 @@ skip_commits:
41
39
test_script:
42
40
- node --version
43
41
- npm --version
44
- - sh tasks/e2e-%test_suite%.sh
42
+ - bash tasks/e2e-%test_suite%.sh
Original file line number Diff line number Diff line change @@ -218,14 +218,7 @@ PORT=3001 \
218
218
REACT_APP_SHELL_ENV_MESSAGE=fromtheshell \
219
219
NODE_PATH=src \
220
220
nohup npm start &>$tmp_server_log &
221
- while true
222
- do
223
- if grep -q 'You can now view' $tmp_server_log; then
224
- break
225
- else
226
- sleep 1
227
- fi
228
- done
221
+ grep -q 'You can now view' <(tail -f $tmp_server_log)
229
222
E2E_URL="http://localhost:3001" \
230
223
REACT_APP_SHELL_ENV_MESSAGE=fromtheshell \
231
224
CI=true NODE_PATH=src \
@@ -287,14 +280,7 @@ PORT=3002 \
287
280
REACT_APP_SHELL_ENV_MESSAGE=fromtheshell \
288
281
NODE_PATH=src \
289
282
nohup npm start &>$tmp_server_log &
290
- while true
291
- do
292
- if grep -q 'You can now view' $tmp_server_log; then
293
- break
294
- else
295
- sleep 1
296
- fi
297
- done
283
+ grep -q 'You can now view' <(tail -f $tmp_server_log)
298
284
E2E_URL="http://localhost:3002" \
299
285
REACT_APP_SHELL_ENV_MESSAGE=fromtheshell \
300
286
CI=true NODE_PATH=src \
You can’t perform that action at this time.
0 commit comments