From b114f3bbe50f50477778a0a13cf99c0cfee1392a Mon Sep 17 00:00:00 2001 From: Kostis Anagnostopoulos Date: Fri, 30 Sep 2016 00:49:38 +0200 Subject: ci: Capture logging for Popen() execute statements. + Collect all known commands --- .appveyor.yml | 2 +- .travis.yml | 2 +- git/cmd.py | 1 + 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, -- cgit v1.2.1