From 02cb16916851336fcf2778d66a6d54ee15d086d7 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Fri, 3 Jul 2015 16:22:19 +0200 Subject: fix(travis): assure private key has access Previously travis would fail to clone the special testing repository as SSH access requires a deploy key to be set. The latter has been configured and is now added in clear-text. This is save as it is only good for read-only access to a test repository, mis-use cannot happen that way. --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 08eafda5..a8f0dfeb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,6 +29,9 @@ install: # and cause subsequent tests to fail - cat git/test/fixtures/.gitconfig >> ~/.gitconfig # used later when testing for specific issue + # copy the configured key into place so clone can work + # The key just has read-only access to the test-repository + - cp .travis.private-ssh-key-for-issue-301 ~/.ssh/id_rsa - git clone git@github.com:gitpython-developers/gitpython_issue_301.git issue-301-repo script: # Make sure we limit open handles to see if we are leaking them -- cgit v1.2.3