Skip to content

Commit

Permalink
ci: run server in background on travis
Browse files Browse the repository at this point in the history
  • Loading branch information
tpluscode committed Aug 5, 2019
1 parent 231420b commit 2523d54
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ services:

before_install:
- cd movies

before_script:
- npm start &; $SERVER_PID=$!

after_script:
- kill $SERVER_PID

deploy:
provider: script
Expand Down

0 comments on commit 2523d54

Please sign in to comment.