Permalink
Browse files

[ADD] codecov: Switch old badges and enable codecov (#26)

  • Loading branch information...
moylop260 committed Jul 18, 2016
1 parent 11b8e11 commit fcd81c5c45a5452dbbf93b9cc173a2c9be1c361c
Showing with 23 additions and 10 deletions.
  1. +1 −0 .codecov.yml
  2. +8 −0 .coveragerc
  3. +0 −2 .coveralls.yml
  4. +6 −3 .travis.yml
  5. +4 −4 README.rst
  6. +4 −1 tox.ini
@@ -0,0 +1 @@
comment: false
@@ -0,0 +1,8 @@
[report]
include =
*/cfdilib/cfdilib/*
omit =
*/test/*
*/tests/*
*__init__.py

This file was deleted.

Oops, something went wrong.
@@ -23,10 +23,14 @@ addons:
apt:
packages:
- python-lxml
- openssl
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
- pip install -U tox jinja2 coveralls
- pip install -U pip
- pip install -U tox jinja2 codecov
# To fix insecureplatformwarning of urllib3 for coveralls command
- pip install -U pyopenssl ndg-httpsclient pyasn1
# command to run tests, e.g. python setup.py test
script:
@@ -35,8 +39,7 @@ script:
- python test_usage.py
after_success:
- cp ${TRAVIS_BUILD_DIR}/.coveralls.yml ${TRAVIS_BUILD_DIR}/.tox/$TOXENV/
- (cd ${TRAVIS_BUILD_DIR}/.tox/$TOXENV && coveralls)
- (cd ${TRAVIS_BUILD_DIR}/.tox/$TOXENV && coverage report -m; codecov)
# After you create the Github repo and add it to Travis, run the
# travis_pypi_setup.py script to finish PyPI deployment setup
@@ -2,11 +2,11 @@
Xml documents generator
=======================
.. image:: https://travis-ci.com/Vauxoo/cfdilib.svg?token=VAty1EWicYm2yKQxZptp&branch=master
:target: https://travis-ci.com/Vauxoo/cfdilib
.. image:: https://travis-ci.org/Vauxoo/cfdilib.svg?branch=master
:target: https://travis-ci.org/Vauxoo/cfdilib
.. image:: https://coveralls.io/repos/github/Vauxoo/cfdilib/badge.svg?t=7nEy31
:target: https://coveralls.io/github/Vauxoo/cfdilib
.. image:: https://codecov.io/gh/Vauxoo/cfdilib/branch/master/graph/badge.svg?token=wcRGfPzSDy
:target: https://codecov.io/gh/Vauxoo/cfdilib
Library to xml documents based on XSD files to manage situations where you need to sign such
@@ -11,7 +11,10 @@ deps =
setenv =
PYTHONPATH={toxinidir}:{toxinidir}/cfdilib
COVERAGE_FILE = {envdir}/.coverage
commands = coverage run setup.py test
commands =
python -c "import shutil;shutil.copy('{toxinidir}/.coveragerc', '{envdir}/.coveragerc')"
python -c "import shutil;shutil.copy('{toxinidir}/.codecov.yml', '{envdir}/.codecov.yml')"
coverage run setup.py test
; If you want to make tox run the tests with the same versions, create a
; requirements.txt with the pinned versions and uncomment the following lines:

0 comments on commit fcd81c5

Please sign in to comment.