Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Meta
create-react-app
Commits
231873e9
Commit
231873e9
authored
7 years ago
by
Joe Lim
Committed by
Joe Haddad
7 years ago
Browse files
Options
Download
Email Patches
Plain Diff
one-line waiting for app start (#3411)
* one-line waiting for app start * remove fixed todo
parent
36cd35d6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
appveyor.yml
+1
-3
appveyor.yml
tasks/e2e-kitchensink.sh
+2
-16
tasks/e2e-kitchensink.sh
with
3 additions
and
19 deletions
+3
-19
appveyor.yml
+
1
-
3
View file @
231873e9
...
@@ -28,8 +28,6 @@ platform:
...
@@ -28,8 +28,6 @@ platform:
-
x64
-
x64
install
:
install
:
# TODO: Remove after https://github.com/appveyor/ci/issues/1426 is fixed
-
set PATH=C:\Program Files\Git\mingw64\bin;%PATH%
-
ps
:
Install-Product node $env:nodejs_version $env:platform
-
ps
:
Install-Product node $env:nodejs_version $env:platform
build
:
off
build
:
off
...
@@ -41,4 +39,4 @@ skip_commits:
...
@@ -41,4 +39,4 @@ skip_commits:
test_script
:
test_script
:
-
node --version
-
node --version
-
npm --version
-
npm --version
-
sh tasks/e2e-%test_suite%.sh
-
ba
sh tasks/e2e-%test_suite%.sh
This diff is collapsed.
Click to expand it.
tasks/e2e-kitchensink.sh
+
2
-
16
View file @
231873e9
...
@@ -218,14 +218,7 @@ PORT=3001 \
...
@@ -218,14 +218,7 @@ PORT=3001 \
REACT_APP_SHELL_ENV_MESSAGE
=
fromtheshell
\
REACT_APP_SHELL_ENV_MESSAGE
=
fromtheshell
\
NODE_PATH
=
src
\
NODE_PATH
=
src
\
nohup
npm start &>
$tmp_server_log
&
nohup
npm start &>
$tmp_server_log
&
while
true
grep
-q
'You can now view'
<
(
tail
-f
$tmp_server_log
)
do
if
grep
-q
'You can now view'
$tmp_server_log
;
then
break
else
sleep
1
fi
done
E2E_URL
=
"http://localhost:3001"
\
E2E_URL
=
"http://localhost:3001"
\
REACT_APP_SHELL_ENV_MESSAGE
=
fromtheshell
\
REACT_APP_SHELL_ENV_MESSAGE
=
fromtheshell
\
CI
=
true
NODE_PATH
=
src
\
CI
=
true
NODE_PATH
=
src
\
...
@@ -287,14 +280,7 @@ PORT=3002 \
...
@@ -287,14 +280,7 @@ PORT=3002 \
REACT_APP_SHELL_ENV_MESSAGE
=
fromtheshell
\
REACT_APP_SHELL_ENV_MESSAGE
=
fromtheshell
\
NODE_PATH
=
src
\
NODE_PATH
=
src
\
nohup
npm start &>
$tmp_server_log
&
nohup
npm start &>
$tmp_server_log
&
while
true
grep
-q
'You can now view'
<
(
tail
-f
$tmp_server_log
)
do
if
grep
-q
'You can now view'
$tmp_server_log
;
then
break
else
sleep
1
fi
done
E2E_URL
=
"http://localhost:3002"
\
E2E_URL
=
"http://localhost:3002"
\
REACT_APP_SHELL_ENV_MESSAGE
=
fromtheshell
\
REACT_APP_SHELL_ENV_MESSAGE
=
fromtheshell
\
CI
=
true
NODE_PATH
=
src
\
CI
=
true
NODE_PATH
=
src
\
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment