mirror of
https://github.com/Hopiu/django-model-utils.git
synced 2026-03-16 20:00:23 +00:00
add codecov to travis
This commit is contained in:
parent
4a7182112f
commit
6dd7556da7
3 changed files with 5 additions and 6 deletions
|
|
@ -1,7 +1,5 @@
|
|||
[run]
|
||||
source = model_utils
|
||||
omit = model_utils/tests/*
|
||||
.*
|
||||
omit = .*
|
||||
tests/*
|
||||
*/_*
|
||||
branch = 1
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
language: python
|
||||
sudo: false
|
||||
|
||||
matrix:
|
||||
fast_finish: true
|
||||
|
|
@ -48,7 +49,7 @@ matrix:
|
|||
env: TOXENV=py36-djangotrunk
|
||||
|
||||
install:
|
||||
- pip install --upgrade pip setuptools tox virtualenv coveralls
|
||||
- pip install --upgrade pip setuptools tox virtualenv codecov
|
||||
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then export PYVER=py27; fi
|
||||
- if [[ $TRAVIS_PYTHON_VERSION == '3.4' ]]; then export PYVER=py34; fi
|
||||
- if [[ $TRAVIS_PYTHON_VERSION == '3.5' ]]; then export PYVER=py35; fi
|
||||
|
|
@ -56,4 +57,4 @@ install:
|
|||
|
||||
script: COMMAND='coverage run' tox -e$TOXENV
|
||||
|
||||
after_success: coveralls
|
||||
after_success: codecov
|
||||
|
|
|
|||
2
tox.ini
2
tox.ini
|
|
@ -16,4 +16,4 @@ deps =
|
|||
djangotrunk: https://github.com/django/django/tarball/master
|
||||
freezegun == 0.3.8
|
||||
|
||||
commands = coverage run -a runtests.py
|
||||
commands = {env:COMMAND:python} runtests.py
|
||||
|
|
|
|||
Loading…
Reference in a new issue