Skip to content

Commit

Permalink
Revert "Drop nose and use coverage for test coverage"
Browse files Browse the repository at this point in the history
This reverts commit bae5f75.
  • Loading branch information
kressi committed Dec 12, 2019
1 parent bae5f75 commit 2053dbe
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@ __pycache__/
/build/
/dist/
/*.egg-info
.coverage
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,12 @@ matrix:
install:
- python --version
- pip --version
- pip install coverage #nose - nosetests --version
- pip install nose
- nosetests --version
- pip install coveralls

script:
- coverage run --source=terminalplot setup.py test #nosetests --with-coverage --cover-package=terminalplot
- nosetests --with-coverage --cover-package=terminalplot

after_success:
- coveralls
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,7 @@ def version():
zip_safe=True,
entry_points={
'console_scripts': ['plot = terminalplot.command:main']
}
},
test_suite='nose.collector',
tests_require=['nose']
)

0 comments on commit 2053dbe

Please sign in to comment.