photoprism/.travis.yml
2018-09-05 18:24:14 +02:00

15 lines
No EOL
398 B
YAML

sudo: required
services:
- docker
before_script:
- docker-compose -f docker-compose.travis.yml up -d
- docker-compose exec photoprism /go/bin/dep ensure
- docker-compose exec photoprism /usr/local/go/bin/go run cmd/photoprism/photoprism.go migrate-db
script:
- docker-compose exec photoprism /usr/local/go/bin/go test
after_script:
- docker-compose -f docker-compose.travis.yml down