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-11-06 16:57:54 +01:00
|
|
|
- docker-compose -f docker-compose.travis.yml up -d --build
|
2018-02-28 08:47:50 +01:00
|
|
|
|
|
|
|
script:
|
2018-11-06 17:13:18 +01:00
|
|
|
- docker-compose -f docker-compose.travis.yml exec photoprism make migrate test-codecov
|
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
|
2018-09-17 12:33:48 +02:00
|
|
|
script: make docker-push
|
|
|
|
skip_cleanup: true
|
2018-09-17 12:11:19 +02:00
|
|
|
on:
|
|
|
|
branch: master
|