summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorailin-nemui2014-12-18 16:23:38 +0100
committerailin-nemui2014-12-18 16:23:38 +0100
commita6e40b8e2c6215175b150845e16b34105300f728 (patch)
tree50d51b55f5d3c04d952098694300615a98905043
parentcada52740ec309380db7afbc305ad423366212d0 (diff)
downloadscripts.irssi.org-a6e40b8e2c6215175b150845e16b34105300f728.tar.bz2
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
-rw-r--r--.travis.yml10
1 files 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