summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2015-04-22 08:51:29 +0200
committerSebastian Thiel <byronimo@gmail.com>2015-04-22 08:56:18 +0200
commitb9a2ea80aa9970bbd625da4c986d29a36c405629 (patch)
tree6028c31e0722e76d9a4623cc6a305776860fb5af /.travis.yml
parente39c8b07d1c98ddf267fbc69649ecbbe043de0fd (diff)
downloadgitpython-b9a2ea80aa9970bbd625da4c986d29a36c405629.tar.gz
fix(config): selective cfg write;fix cfg parser
* config parser now handles quoted values correctly. This doesn't hamper multi-line support. * added regression test to travis to assure we will be warned if we rewrite and break the user's .gitconfig file * only rewrite configuration files if we actually called a mutating method on the writer. Previously it would always rewrite it. Fixes #285
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index b53228ca..389780c7 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -25,6 +25,9 @@ install:
# as commits are performed with the default user, it needs to be set for travis too
- git config --global user.email "travis@ci.com"
- git config --global user.name "Travis Runner"
+ # If we rewrite the user's config by accident, we will mess it up
+ # and cause subsequent tests to fail
+ - cp git/test/fixtures/.gitconfig ~/
script:
# Make sure we limit open handles to see if we are leaking them
- ulimit -n 96