From: ailin-nemui Date: Thu, 18 Dec 2014 15:23:38 +0000 (+0100) Subject: Explicitly remove the login token from environment X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=a6e40b8e2c6215175b150845e16b34105300f728;p=irssi-scripts.irssi.org.git 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 --- 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