Skip to content

Commit 2523d54

Browse files
committed
ci: run server in background on travis
1 parent 231420b commit 2523d54

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.travis.yml

+6
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ services:
77

88
before_install:
99
- cd movies
10+
11+
before_script:
12+
- npm start &; $SERVER_PID=$!
13+
14+
after_script:
15+
- kill $SERVER_PID
1016

1117
deploy:
1218
provider: script

0 commit comments

Comments
 (0)