summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKostis Anagnostopoulos <ankostis@gmail.com>2016-09-30 00:49:38 +0200
committerKostis Anagnostopoulos <ankostis@gmail.com>2016-09-30 01:36:24 +0200
commitb114f3bbe50f50477778a0a13cf99c0cfee1392a (patch)
tree9c455681e928297388074df91e4db23f2e3e3f0b
parent842fb6852781fd74fdbc7b2762084e39c0317067 (diff)
downloadgitpython-b114f3bbe50f50477778a0a13cf99c0cfee1392a.tar.gz
ci: Capture logging for Popen() execute statements.
+ Collect all known commands
-rw-r--r--.appveyor.yml2
-rw-r--r--.travis.yml2
-rw-r--r--git/cmd.py1
3 files changed, 3 insertions, 2 deletions
diff --git a/.appveyor.yml b/.appveyor.yml
index 9c572f2d..f349d1ff 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -77,7 +77,7 @@ install:
build: false
test_script:
- - nosetests
+ - nosetests -vvvs --logging-level=DEBUG
#on_success:
# - IF "%PYTHON_VERSION%"=="3.4" (coveralls)
diff --git a/.travis.yml b/.travis.yml
index 5c98c4d2..63686011 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -31,7 +31,7 @@ script:
# Make sure we limit open handles to see if we are leaking them
- ulimit -n 96
- ulimit -n
- - nosetests -v --with-coverage
+ - nosetests -vvvs --with-coverage --logging-level=DEBUG
- if [ "$TRAVIS_PYTHON_VERSION" == '3.4' ]; then flake8; fi
- if [ "$TRAVIS_PYTHON_VERSION" == '3.5' ]; then cd doc && make html; fi
-
diff --git a/git/cmd.py b/git/cmd.py
index 3d9435ba..b47b2a02 100644
--- a/git/cmd.py
+++ b/git/cmd.py
@@ -535,6 +535,7 @@ class Git(LazyMixin):
cmd_not_found_exception = OSError
# end handle
+ log.debug("Popen(%s, cwd=%s, universal_newlines=%s", command, cwd, universal_newlines)
try:
proc = Popen(command,
env=env,