]> git.99rst.org Git - irssi-scripts.irssi.org.git/commitdiff
Explicitly remove the login token from environment
authorailin-nemui <redacted>
Thu, 18 Dec 2014 15:23:38 +0000 (16:23 +0100)
committerailin-nemui <redacted>
Thu, 18 Dec 2014 15:23:38 +0000 (16:23 +0100)
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

index 64d0fcba57f0aafbe9f81d2d29b9112dfa756514..1c69a58aaa33b9438551bf11b68ac09fe0417e05 100644 (file)
@@ -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
git clone https://git.99rst.org/PROJECT