Set CODECOV_TOKEN env in docker-compose #58
This commit is contained in:
parent
7f977e2a6b
commit
9e8ed74587
2 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -5,6 +5,8 @@ services:
|
|||
build: .
|
||||
image: photoprism/photoprism
|
||||
command: tail -f /dev/null
|
||||
environment:
|
||||
- CODECOV_TOKEN
|
||||
|
||||
database:
|
||||
image: mysql:latest
|
||||
|
|
Loading…
Reference in a new issue