Travis wait for container instead of sleep

pull/793/head
Piero Toffanin 2020-01-22 10:30:08 -05:00
rodzic b6db62c0a8
commit 13d180f3f8
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -9,6 +9,6 @@ services:
install:
- docker-compose -f docker-compose.yml -f docker-compose.build.yml up --build -d
- sleep 60
- while sleep 5; do docker ps -a; if [[ -n "`docker ps | grep webapp | grep ' Up '`" ]]; then break; fi; done
script: docker-compose exec webapp /bin/bash -c "/webodm/webodm.sh test"