diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 00000000..b271c818 --- /dev/null +++ b/.coveragerc @@ -0,0 +1,2 @@ +[run] +source=axes diff --git a/.travis.yml b/.travis.yml index d5cd3f53..76dbf43b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,10 +24,10 @@ matrix: env: DJANGO=2.1 - python: 3.4 env: DJANGO=master -install: pip install tox-travis +install: pip install tox-travis codecov script: tox after_success: - - coveralls + - codecov deploy: provider: pypi user: jazzband diff --git a/README.rst b/README.rst index 69d8ab34..8d90844f 100644 --- a/README.rst +++ b/README.rst @@ -9,9 +9,9 @@ Django Axes :target: http://travis-ci.org/jazzband/django-axes :alt: Build Status -.. image:: https://coveralls.io/repos/github/jazzband/django-axes/badge.svg?branch=master - :target: https://coveralls.io/github/jazzband/django-axes?branch=master - :alt: Coveralls +.. image:: https://codecov.io/gh/jazzband/django-axes/branch/master/graph/badge.svg + :target: https://codecov.io/gh/jazzband/django-axes + :alt: Coverage ``django-axes`` is a very simple way for you to keep track of failed login diff --git a/requirements.txt b/requirements.txt index 0ec6489d..aaf3eb65 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,6 @@ -e . -coveralls==1.5.1 -mock==2.0.0 ; python_version <= "2.7" +coverage==4.5.2 +mock==2.0.0 ; python_version <= "2.7" prospector==1.1.6.2 sphinx_rtd_theme==0.4.2 +tox==3.6.0 diff --git a/tox.ini b/tox.ini index d720fb7f..f489c994 100644 --- a/tox.ini +++ b/tox.ini @@ -31,8 +31,8 @@ usedevelop = True ignore_outcome = djangomaster: True commands = - coverage run -a --source=axes runtests.py -v2 - coverage run -a --source=axes runtests.py -v2 cache + coverage run -a runtests.py -v2 + coverage run -a runtests.py -v2 cache coverage report prospector setenv =