Skip to content

Commit

Permalink
Add codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
shivammathur committed May 16, 2017
1 parent ceacc10 commit dd4099b
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 8 deletions.
14 changes: 12 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,17 @@ matrix:
env: TOXENV=py36

# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install: pip install -U tox
install:
- pip install -U tox
- pip install tox codecov coveralls
- pip install pytest-cov

# command to run tests, e.g. python setup.py test
script: tox -e ${TOXENV}
script:
- coverage run tests.py
- tox -e ${TOXENV}

# send coverage
after_success:
- codecov
- coveralls
2 changes: 1 addition & 1 deletion ippy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

__author__ = """Shivam Mathur"""
__email__ = 'shivam_jpr@hotmail.com'
__version__ = '0.2.2'
__version__ = '0.2.3'

from .ippy import Ippy
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.2.2
current_version = 0.2.3
commit = True
tag = True

Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@

setup(
name='ippy',
version='0.2.2',
version='0.2.3',
description="Parallel testing of IP addresses and domains in python.",
author="Shivam Mathur",
author_email='shivam_jpr@hotmail.com',
url='https://github.com/shivammathur/ippy',
download_url='https://github.com/shivammathur/ippy/archive/0.2.2.tar.gz',
download_url='https://github.com/shivammathur/ippy/archive/0.2.3.tar.gz',
packages=[
'ippy',
],
Expand Down
8 changes: 6 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ setenv =
deps =
-r{toxinidir}/requirements_dev.txt
-r{toxinidir}/requirements.txt

codecov>=1.4.0
coveralls
passenv = CI TRAVIS TRAVIS_*
commands =
pip install -U pip
py.test --basetemp={envtmpdir}
py.test --basetemp={envtmpdir}
codecov -e TOXENV
coveralls

0 comments on commit dd4099b

Please sign in to comment.