diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2015-07-03 16:22:19 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2015-07-03 16:22:19 +0200 |
commit | 02cb16916851336fcf2778d66a6d54ee15d086d7 (patch) | |
tree | 2cc56ac36e93ee1f4fa9ce0b8c7a602230c9a53c /.travis.yml | |
parent | c5a9bbef0d2d8fc5877dab55879464a13955a341 (diff) | |
download | gitpython-02cb16916851336fcf2778d66a6d54ee15d086d7.tar.gz |
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.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 3 |
1 files changed, 3 insertions, 0 deletions
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 |