20 lines
No EOL
374 B
YAML
20 lines
No EOL
374 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 test
|
|
|
|
after_script:
|
|
- docker-compose -f docker-compose.travis.yml down
|
|
|
|
deploy:
|
|
provider: script
|
|
script: make docker-push
|
|
skip_cleanup: true
|
|
on:
|
|
branch: master |