Added sleep to Travis CI config (could not connect to database)
This commit is contained in:
parent
fdbd53c7e0
commit
97b8eec9e9
1 changed files with 3 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue