photoprism/.travis.yml
2018-09-17 13:00:11 +02:00

20 lines
No EOL
377 B
YAML

sudo: required
services:
- docker
before_script:
- docker-compose -f docker-compose.travis.yml up -d --build
script:
- docker-compose -f docker-compose.travis.yml exec photoprism make migrate-db test
after_script:
- docker-compose -f docker-compose.travis.yml down
deploy:
provider: script
script: make docker-push
skip_cleanup: true
on:
branch: master