浏览代码

Actually add source directory.

Jelmer Vernooij 8 年之前
父节点
当前提交
690b9e3ed9
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      .travis.yml

+ 2 - 2
.travis.yml

@@ -31,11 +31,11 @@ script:
   - pip install coverage codecov
 
   # Test without c extensions
-  - python -m coverage run -p -m $TEST_RUNNER dulwich.tests.test_suite
+  - python -m coverage run -p --source=dulwich -m $TEST_RUNNER dulwich.tests.test_suite
 
   # Test with c extensions
   - python setup.py build_ext -i
-  - python -m coverage run -p -m $TEST_RUNNER dulwich.tests.test_suite
+  - python -m coverage run -p --source=dulwich -m $TEST_RUNNER dulwich.tests.test_suite
 after_success:
   - python -m coverage combine
   - codecov