diff --git a/.travis.yml b/.travis.yml index 1c66df322..fc4b8df52 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/docker-compose.travis.yml b/docker-compose.travis.yml index c37adfe15..43b02a8cc 100644 --- a/docker-compose.travis.yml +++ b/docker-compose.travis.yml @@ -5,6 +5,8 @@ services: build: . image: photoprism/photoprism command: tail -f /dev/null + environment: + - CODECOV_TOKEN database: image: mysql:latest