From 97b8eec9e9d8151027aac98bd6713d3fc837ba11 Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Wed, 15 Aug 2018 13:15:38 +0200 Subject: [PATCH] Added sleep to Travis CI config (could not connect to database) --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0e57f8aef..b91b915f9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,13 +1,14 @@ sudo: required services: - - docker + - docker before_script: - docker-compose -f docker-compose.travis.yml up --build -d + - sleep 15 + - docker-compose exec photoprism /usr/local/go/bin/go run cmd/photoprism/photoprism.go migrate-db script: - - docker-compose exec photoprism /usr/local/go/bin/go run cmd/photoprism/photoprism.go migrate-db - docker-compose exec photoprism /usr/local/go/bin/go test after_script: