add codecov to travis

This commit is contained in:
Tony Narlock 2017-12-11 07:24:57 -06:00
parent 4a7182112f
commit 6dd7556da7
3 changed files with 5 additions and 6 deletions

View file

@ -1,7 +1,5 @@
[run]
source = model_utils
omit = model_utils/tests/*
.*
omit = .*
tests/*
*/_*
branch = 1

View file

@ -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

View file

@ -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