Эх сурвалжийг харах

modify coverage build to ignore the tests

oz123 11 жил өмнө
parent
commit
acd86b3e68
1 өөрчлөгдсөн 3 нэмэгдсэн , 1 устгасан
  1. 3 1
      .travis.yml

+ 3 - 1
.travis.yml

@@ -8,7 +8,9 @@ install:
      - "pip install coveralls"
 # command to run tests, e.g. python setup.py test
 script:  
-    coverage run --source=pwman setup.py test
+    #coverage run --source=pwman setup.py test
+    coverage run --omit=pwman/tests/*.py --source=pwman setup.py test
+
 
 after_success:
       coveralls