Selaa lähdekoodia

Add coveralls

Denis K 9 vuotta sitten
vanhempi
commit
e5d508fd3f
1 muutettua tiedostoa jossa 5 lisäystä ja 1 poistoa
  1. 5 1
      .travis.yml

+ 5 - 1
.travis.yml

@@ -18,8 +18,12 @@ install:
   - if [[ $TRAVIS_PYTHON_VERSION == 2.6 ]]; then pip install importlib; fi
   - pip install -q Django==$DJANGO --use-mirrors
   - pip install . --use-mirrors
+  - pip install coveralls
 script:
-  - python manage.py test jet
+  - coverage run manage.py test jet
+after_success:
+  coverage report
+  coveralls
 matrix:
   exclude:
     - python: 2.6