소스 검색

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