diff --git a/.travis.yml b/.travis.yml index 3d24a20..942e88d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,6 +14,8 @@ matrix: env: TOXENV=docs - python: 3.6 env: TOXENV=coverage + - python: 3.6 + env: TOXENV=codecov branches: only: @@ -26,6 +28,8 @@ before_install: install: - pip install --upgrade pip - pip install tox-travis + - pip install coverage + - pip install codecov - virtualenv --version - easy_install --version - pip --version @@ -36,6 +40,7 @@ script: after_success: - bash <(curl -s https://codecov.io/bash) + - codecov notifications: email: diff --git a/tox.ini b/tox.ini index 2de9226..ca902f5 100644 --- a/tox.ini +++ b/tox.ini @@ -37,6 +37,13 @@ deps = commands = pytest tests/ --cov=pyDataverse --cov-report=term-missing --cov-report=xml --cov-report=html +[testenv:codecov] +description = create report for codecov +deps = + codecov +commands = + codecov + [testenv:pylint] description = pylint for linting deps =