Procházet zdrojové kódy

configure coverage

Bastien Sevajol před 6 roky
rodič
revize
97ebf889b9
2 změnil soubory, kde provedl 9 přidání a 1 odebrání
  1. 5 0
      .coveragerc
  2. 4 1
      .travis.yml

+ 5 - 0
.coveragerc Zobrazit soubor

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

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