Skip to content

Commit

Permalink
coverage fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
prawn-cake committed Jul 12, 2016
1 parent 25ae2d7 commit 2680f8d
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 5 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ python:
- 3.4
env:
- TOXENV=py34
before_install:
- pip install pytest-cov
install:
- pip install -r requirements-test.txt
- pip install tox coveralls
Expand Down
6 changes: 5 additions & 1 deletion requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
mock
pytest
coverage
coverage

# For setuptools integration
# More details on http://pytest.org/latest/goodpractices.html#integrating-with-setuptools-python-setup-py-test-pytest-runner
pytest-runner
5 changes: 4 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
[bdist_wheel]
universal=0
universal=0

[aliases]
test=pytest
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
author='Maksim Ekimovskii',
author_email='ekimovsky.maksim@gmail.com',
description='Changelog command-line tool manager',
setup_requires=['pytest-runner'],
tests_require=['pytest'],
entry_points={
'console_scripts': [
'md-changelog = md_changelog.main:main'
Expand Down
1 change: 0 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ envlist = py34
passenv = *
deps = -rrequirements-test.txt
commands =
py.test md_changelog/tests/
coverage run --source=md_changelog setup.py test

0 comments on commit 2680f8d

Please sign in to comment.