From 9e8ed74587bc3d431b6bcfb62323714c414b04ee Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Tue, 6 Nov 2018 17:13:18 +0100 Subject: [PATCH] Set CODECOV_TOKEN env in docker-compose #58 --- .travis.yml | 2 +- docker-compose.travis.yml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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