Bastien Sevajol 6 лет назад
Родитель
Сommit
97ebf889b9
2 измененных файлов: 9 добавлений и 1 удалений
  1. 5 0
      .coveragerc
  2. 4 1
      .travis.yml

+ 5 - 0
.coveragerc Просмотреть файл

@@ -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 Просмотреть файл

@@ -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