瀏覽代碼

modify coverage build to ignore the tests

oz123 11 年之前
父節點
當前提交
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