From 38f33a3e844aad68d206ae84838146a2135c76aa Mon Sep 17 00:00:00 2001 From: Jean-Christophe Fillion-Robin Date: Tue, 8 Nov 2016 22:58:11 -0500 Subject: [PATCH] env: Ensure proper detection of CircleCI This commit ensures all parameters required by the python [1] and bash [2] uploader can easily be passed to a docker container [3] [1] https://github.com/codecov/codecov-python/blob/7386c3c13fc71f237611c780646fa1b44a07dc64/codecov/__init__.py#L337 [2] https://github.com/codecov/codecov-bash/blob/441e2018ed76f4d8cb92dafa732ee24ebebb41f9/codecov#L429 [3] http://docs.codecov.io/docs/testing-with-docker#section-codecov-inside-docker --- env | 1 + 1 file changed, 1 insertion(+) diff --git a/env b/env index 98bafd6c..0fd46aff 100755 --- a/env +++ b/env @@ -61,6 +61,7 @@ then elif [ "$CI" = "true" ] && [ "$CIRCLECI" = "true" ]; then + add "CI" add "CIRCLECI" add "CIRCLE_BRANCH" add "CIRCLE_BUILD_NUM"