Skip to content

Commit

Permalink
Add coverage, coveralls tooling
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Yap committed Oct 27, 2017
1 parent 2e86a73 commit 5ef59e3
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,15 @@ deploy:
secure: YtT0HXAfjYB6thf4RqHbu4CdQzn2VtL3lrjauwoULbB5IST8ch5Lf303yBSo5KnE8EkDGKrPJ1kztA64XusaTqLUQBIttEeuW2tpRAbYs1l6Ct4ZxugW8oE7lNsQRWA+F2f9IXjLS0Cc8T03uV274ygPRU7mJDLfs2jK2BSVi3JkyPXkdTsyQgXgBgLdnvJWK+QfZTS2xJLCMn5UPdZet3nSVBPoM1bVkvDWLqrNAqPy/ZmP5AU6JfjxiaFdOMViCF38nhpLi4kcugn4swKnyJtyFBhyDBFejZW8V0EY5+nJT9CgSqBxSRLF5kw7yddbG4WiL7km0b8SNfqQ55aKOMr/jNDIPn9fCX2+BCYW1JFSzsby5bB+JgI72GiD7xxaQYSSdaHCPGu0JWceZDLXEt0En45MtfE/46GAZpE+frUVOSIZRc4jllHuN3tE9M41xbCKs2GjQ3yyyJo4ky0sxoeJ50zegzOM7HgnEy7j0nl0gzOcZ46ZyjOVfZ/zcW+zVOBp9Y7tgeuDp1eWH90SSbl6SkbRW13vr/wfO4GD0XaxwcGvUkVfwvPy4up6kxB6I1OOzOb3T03JmLegUi6+/LH5UyKwHb4MauerSNa2I2dN6WCfi1cvmGp+SMO4wRSy/r9fRwBdpiExmq0UOE+DsCMx4bXhwqaqWoxAurAe2Cc=
provider: pypi
user: vicyap
install: pip install -U tox-travis flake8
install: pip install -U tox-travis flake8 pytest coverage coveralls
language: python
python:
- 3.6
- 3.5
- 3.4
- 2.7
script:
- tox
- make lint
- tox
- make coverage
- coveralls
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ coverage: ## check code coverage quickly with the default Python
coverage run --source python_hologram_api -m pytest
coverage report -m
coverage html
$(BROWSER) htmlcov/index.html

docs: ## generate Sphinx HTML documentation, including API docs
rm -f docs/python_hologram_api.rst
Expand Down
2 changes: 2 additions & 0 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ tox==2.3.1
coverage==4.1
Sphinx==1.4.8
PyYAML==3.11
pytest==2.9.2
pytest-runner==2.11.1
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ deps =
-r{toxinidir}/requirements_dev.txt
commands =
pip install -U pip
python -m unittest discover -v
py.test


; If you want to make tox run the tests with the same versions, create a
Expand Down

0 comments on commit 5ef59e3

Please sign in to comment.