mirror of
https://github.com/iv-org/invidious.git
synced 2025-08-04 19:58:31 +00:00
travis: do not run "docker-compose up" in detached mode
Rather, allow database to finish its setup procedure and grant Invidious time to launch.
This commit is contained in:
parent
6ac4813594
commit
ffe4201625
@ -27,7 +27,7 @@ jobs:
|
|||||||
install:
|
install:
|
||||||
- docker-compose build
|
- docker-compose build
|
||||||
script:
|
script:
|
||||||
- docker-compose up -d
|
- docker-compose up
|
||||||
- sleep 15 # Wait for cluster to become ready, TODO: do not sleep
|
- sleep 15 # Wait for cluster to become ready, TODO: do not sleep
|
||||||
- HEADERS="$(curl -I -s http://localhost:3000/)"
|
- HEADERS="$(curl -I -s http://localhost:3000/)"
|
||||||
- STATUS="$(echo $HEADERS | head -n1)"
|
- STATUS="$(echo $HEADERS | head -n1)"
|
||||||
|
Loading…
Reference in New Issue
Block a user