Browse Source

add support for coveralls

main
Julien Iguchi-Cartigny 10 years ago
parent
commit
c3cc4815fb
4 changed files with 9 additions and 2 deletions
  1. +5
    -0
      .coveragerc
  2. +2
    -0
      .coveralls.yml
  3. +1
    -1
      .travis.yml
  4. +1
    -1
      tox.ini

+ 5
- 0
.coveragerc View File

@@ -0,0 +1,5 @@
[report]
omit =
*/python?.?/*
*/site-packages/nose/*


+ 2
- 0
.coveralls.yml View File

@@ -0,0 +1,2 @@
repo_token: 5AkyFNIcadJWZQU8iA6f9GPtJs2xP8V6C


+ 1
- 1
.travis.yml View File

@@ -5,7 +5,7 @@ env:
- TOX_ENV=docs - TOX_ENV=docs
- TOX_ENV=flake8 - TOX_ENV=flake8
install: install:
- pip install tox
- pip install tox coveralls
script: script:
- tox -e $TOX_ENV - tox -e $TOX_ENV



+ 1
- 1
tox.ini View File

@@ -4,7 +4,7 @@ envlist = py26,py27,docs,flake8


[testenv] [testenv]
deps=nose deps=nose
commands=nosetests
commands=nosetests --with-coverage --cover-package=wstools


[testenv:py26] [testenv:py26]




Loading…
Cancel
Save