Skip to content

Commit

Permalink
add coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
hjacobs committed Jun 24, 2015
1 parent 350b9c0 commit be792e1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ pip-log.txt
.coverage
.tox
nosetests.xml
coverage.xml
htmlcov

# Translations
*.mo
Expand Down
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ python:
- "2.7"
install:
- pip install -r requirements.txt
- pip install coveralls
script:
- python setup.py test
- python setup.py flake8
after_success:
- coveralls
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def setup_package():

install_reqs = get_install_requirements('requirements.txt')

command_options = {}
command_options = {'test': {'cov': ('setup.py', MAIN_MODULE), 'cov_xml': ('setup.py', True)}}

setup(
name=NAME,
Expand Down

0 comments on commit be792e1

Please sign in to comment.