ソースを参照

add coveralls to build process

oz123 11 年 前
コミット
ec390b2f65
1 ファイル変更8 行追加2 行削除
  1. 8 2
      .travis.yml

+ 8 - 2
.travis.yml

@@ -3,6 +3,12 @@ python:
   - "2.7"
   
 # command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
-install: pip install -r requirements.txt
+install: 
+     - "pip install -r requirements.txt"
+     - "pip install coveralls"
 # command to run tests, e.g. python setup.py test
-script:  python setup.py test
+script:  
+    coverage run --source=pwman setup.py test
+
+after_success:
+      coveralls