From a6e40b8e2c6215175b150845e16b34105300f728 Mon Sep 17 00:00:00 2001 From: ailin-nemui Date: Thu, 18 Dec 2014 16:23:38 +0100 Subject: Explicitly remove the login token from environment This commit removes the login token explicitly from all sub-scripts that do not require it, improving the accidental spill of secrets discussed in #11--- .travis.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 64d0fcb..1c69a58 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,21 +20,21 @@ before_install: _testing/config.yml` - | if [ $TRAVIS_PULL_REQUEST = false ] && [ $USE_ARTEFACTS_CACHE = yes ] && [ $EXTRACT_TEST_ARTEFACTS = yes ]; then - ./_testing/travis/load-old-artefacts.zsh + env -u REPO_LOGIN_TOKEN ./_testing/travis/load-old-artefacts.zsh fi -- ./_testing/travis/autoinstall-perl-prereqs.zsh +- env -u REPO_LOGIN_TOKEN ./_testing/travis/autoinstall-perl-prereqs.zsh install: - true before_script: -- ./_testing/run-test.zsh +- env -u REPO_LOGIN_TOKEN ./_testing/run-test.zsh - | if [ $TRAVIS_PULL_REQUEST != false ]; then git diff --stat $TRAVIS_BRANCH fi script: -- ./_testing/report-test.zsh +- env -u REPO_LOGIN_TOKEN ./_testing/report-test.zsh after_script: -- ./_testing/travis/show-failures.zsh +- env -u REPO_LOGIN_TOKEN ./_testing/travis/show-failures.zsh - | if [ $TRAVIS_PULL_REQUEST = false ] && $TRAVIS_SECURE_ENV_VARS; then perl ./_testing/travis/update-scripts-yaml.pl -- cgit v1.2.3