2018-02-28 08:47:50 +01:00
|
|
|
sudo: required
|
2018-02-04 17:34:07 +01:00
|
|
|
|
2018-11-09 10:56:52 +01:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.cache
|
|
|
|
|
2018-11-09 11:53:21 +01:00
|
|
|
before_cache:
|
|
|
|
- sudo chown -R travis:travis $HOME/.cache
|
|
|
|
|
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-12 07:48:49 +01:00
|
|
|
- scripts/travis.sh
|
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-11-08 10:56:11 +01:00
|
|
|
script: make deploy-photoprism
|
2018-09-17 12:33:48 +02:00
|
|
|
skip_cleanup: true
|
2018-09-17 12:11:19 +02:00
|
|
|
on:
|
|
|
|
branch: master
|