From 7c55f1c93eeb16439fdf6b1c2244444ac424a9cc Mon Sep 17 00:00:00 2001 From: Dave Shawley Date: Wed, 27 Jan 2016 18:26:00 -0500 Subject: [PATCH] Add codecov support. --- .travis.yml | 6 +++++- docs/conf.py | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 9428e48..1c731b1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,11 +2,15 @@ language: python python: - 2.7 - 3.4 +- 3.5 before_install: +- pip install nose coverage codecov - pip install -r requires/testing.txt install: - pip install -e . -script: nosetests +script: nosetests --with-coverage +after_success: +- codecov sudo: false deploy: distributions: sdist bdist_wheel diff --git a/docs/conf.py b/docs/conf.py index 7c88dd7..ed978d6 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -32,6 +32,7 @@ html_theme_options = { 'description': 'Tornado application runner', 'github_banner': True, 'travis_button': True, + 'codecov_button': True, } intersphinx_mapping = {