photoprism/.travis.yml

33 lines
483 B
YAML
Raw Permalink Normal View History

sudo: required
2018-02-04 17:34:07 +01:00
addons:
apt:
packages:
- docker-ce
cache:
directories:
- $HOME/.cache
before_cache:
- sudo chown -R travis:travis $HOME/.cache
services:
- docker
before_script:
- docker-compose -f docker-compose.travis.yml up -d --build
script:
- scripts/travis.sh
after_script:
- docker-compose -f docker-compose.travis.yml down
deploy:
provider: script
script: make docker-photoprism docker-demo
skip_cleanup: true
on:
branch: master