Browse Source

configure coverage

Bastien Sevajol 6 years ago
parent
commit
97ebf889b9
2 changed files with 9 additions and 1 deletions
  1. 5 0
      .coveragerc
  2. 4 1
      .travis.yml

+ 5 - 0
.coveragerc View File

@@ -1,3 +1,8 @@
1 1
 [run]
2 2
 source = tracim
3 3
 omit = tracim/test*
4
+
5
+[report]
6
+omit =
7
+tests/*
8
+*/python?.?/*

+ 4 - 1
.travis.yml View File

@@ -8,8 +8,11 @@ python:
8 8
 install:
9 9
   - pip install --upgrade pip setuptools
10 10
   - pip install -e ".[testing]"
11
+  - pip install pytest-cov
12
+  - pip install python-coveralls
11 13
 
12
-script: pytest
14
+script:
15
+ - py.test --cov tracim
13 16
 
14 17
 after_success:
15 18
   - coveralls