Explorar el Código

Revert "Separately report coverage for c extension tests and non-c extension tests."

This reverts commit 7c3cc2db5ea6b48ef19404e11452215fba8987ea.
Jelmer Vernooij hace 8 años
padre
commit
75b9110963
Se han modificado 2 ficheros con 4 adiciones y 15 borrados
  1. 0 9
      .codecov.yml
  2. 4 6
      .travis.yml

+ 0 - 9
.codecov.yml

@@ -1,9 +0,0 @@
-comment: false
-coverage:
-  status:
-    patch: false
-    project:
-      unit:
-        flags: noext
-      litmus:
-        flags: cext

+ 4 - 6
.travis.yml

@@ -27,14 +27,12 @@ install:
 
 script:
   # Test without c extensions
-  - python -m coverage run --source=dulwich -m unittest dulwich.tests.test_suite
-  - mv .coverage .coverage.noext
+  - python -m coverage run -p --source=dulwich -m unittest dulwich.tests.test_suite
 
   # Test with c extensions
   - python setup.py build_ext -i
-  - python -m coverage run --source=dulwich -m unittest dulwich.tests.test_suite
-  - mv .coverage .coverage.cext
+  - python -m coverage run -p --source=dulwich -m unittest dulwich.tests.test_suite
 
 after_success:
-  - codecov -F noext -f .coverage.noext
-  - codecov -F cext -f .coverage.cext
+  - python -m coverage combine
+  - codecov