Set CODECOV_TOKEN env in docker-compose #58

This commit is contained in:
Michael Mayer 2018-11-06 17:13:18 +01:00
parent 7f977e2a6b
commit 9e8ed74587
2 changed files with 3 additions and 1 deletions

View file

@ -7,7 +7,7 @@ before_script:
- docker-compose -f docker-compose.travis.yml up -d --build
script:
- docker-compose -f docker-compose.travis.yml exec -e CODECOV_TOKEN photoprism make migrate test-codecov
- docker-compose -f docker-compose.travis.yml exec photoprism make migrate test-codecov
after_script:
- docker-compose -f docker-compose.travis.yml down

View file

@ -5,6 +5,8 @@ services:
build: .
image: photoprism/photoprism
command: tail -f /dev/null
environment:
- CODECOV_TOKEN
database:
image: mysql:latest