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:
Leon Klingele 2020-02-21 02:42:20 +01:00
parent 6ac4813594
commit ffe4201625
No known key found for this signature in database
GPG Key ID: 0C8AF48831EEC211

View File

@ -27,7 +27,7 @@ jobs:
install:
- docker-compose build
script:
- docker-compose up -d
- docker-compose up
- sleep 15 # Wait for cluster to become ready, TODO: do not sleep
- HEADERS="$(curl -I -s http://localhost:3000/)"
- STATUS="$(echo $HEADERS | head -n1)"