Browse Source

modify coverage build to ignore the tests

oz123 11 năm trước cách đây
mục cha
commit
acd86b3e68
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  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