Skip to content

Commit

Permalink
Set CODECOV_TOKEN env in docker-compose #58
Browse files Browse the repository at this point in the history
  • Loading branch information
lastzero committed Nov 6, 2018
1 parent 7f977e2 commit 9e8ed74
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions docker-compose.travis.yml
Expand Up @@ -5,6 +5,8 @@ services:
build: .
image: photoprism/photoprism
command: tail -f /dev/null
environment:
- CODECOV_TOKEN

database:
image: mysql:latest
Expand Down

0 comments on commit 9e8ed74

Please sign in to comment.