mirror of
https://github.com/iv-org/invidious.git
synced 2025-08-05 12:18:30 +00:00
try to fix travis build
This commit is contained in:
parent
73277a17ba
commit
88c3af5231
@ -27,8 +27,5 @@ jobs:
|
||||
install:
|
||||
- docker-compose build
|
||||
script:
|
||||
- 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)"
|
||||
- if [[ "$STATUS" != *"200 OK"* ]]; then echo "$HEADERS"; exit 1; fi
|
||||
- docker-compose up -d
|
||||
- while curl -Isf http://localhost:3000; do sleep 1; done
|
||||
|
Loading…
Reference in New Issue
Block a user