diff options
author | Paul Ganssle <paul@ganssle.io> | 2016-02-19 16:27:57 -0500 |
---|---|---|
committer | Paul Ganssle <paul@ganssle.io> | 2016-02-20 08:32:15 -0500 |
commit | f86795308351d103a64e7e3901f56b997e64d1cd (patch) | |
tree | c82c21d9cd04cd577341a4c872a8a293bf9e099b /.travis.yml | |
parent | 1ef2235b4583bd93b136cdee28755d5c2ec02a78 (diff) | |
download | dateutil-f86795308351d103a64e7e3901f56b997e64d1cd.tar.gz |
Added code coverage on appveyor and Travis.
Cleaned up appveyor script so the scripts it needs are in its PATH.
Added codecov badge to README.me.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 78c77db..67695c8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,10 +8,16 @@ python: - "3.5" - "pypy" - "pypy3" +before_install: + - if [[ $TRAVIS_PYTHON_VERSION == '3.2' ]]; then pip install coverage==3.7.1; fi + - pip install codecov install: - pip install six - if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install unittest2; fi - ./ci_tools/retry.sh python updatezinfo.py script: - - python setup.py test + - coverage run --omit=setup.py,dateutil/test/* setup.py test +after_success: + - codecov + sudo: false |