2018-02-28 08:47:50 +01:00
|
|
|
sudo: required
|
2018-02-04 17:34:07 +01:00
|
|
|
|
2018-02-28 08:47:50 +01:00
|
|
|
services:
|
2018-08-15 13:15:38 +02:00
|
|
|
- docker
|
2018-02-28 08:47:50 +01:00
|
|
|
|
|
|
|
before_script:
|
2018-09-17 12:11:19 +02:00
|
|
|
- docker-compose -f docker-compose.travis.yml up -d --build
|
2018-02-28 08:47:50 +01:00
|
|
|
|
|
|
|
script:
|
2018-09-14 14:33:11 +02:00
|
|
|
- docker-compose -f docker-compose.travis.yml exec photoprism make all migrate-db test
|
2018-02-28 08:47:50 +01:00
|
|
|
|
|
|
|
after_script:
|
2018-09-17 12:11:19 +02:00
|
|
|
- docker-compose -f docker-compose.travis.yml down
|
|
|
|
|
|
|
|
deploy:
|
|
|
|
provider: script
|
|
|
|
script: scripts/docker_push.sh
|
|
|
|
on:
|
|
|
|
branch: master
|