From 753bdd2434b757d889aae6d9b6e9c9c3a650e9dc Mon Sep 17 00:00:00 2001 From: Andy Boughton Date: Wed, 17 May 2017 13:01:14 -0400 Subject: [PATCH] Support coveralls for repo and ensure reports are uploaded via travis Also ignore virtualenv directories for flake/tests --- .travis.yml | 3 +++ README.md | 1 + dev-requirements.txt | 1 + setup.cfg | 2 +- 4 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index bd59b2777..8960b52f8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -34,3 +34,6 @@ before_cache: notifications: flowdock: 9f8a6baf3feafdb62e515718698d06d0 + +after_success: + coveralls diff --git a/README.md b/README.md index f00d22358..a47e3b14e 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,7 @@ [![Documentation Status](https://readthedocs.org/projects/waterbutler/badge/?version=latest)](http://waterbutler.readthedocs.org/en/latest/?badge=latest) [![Code Climate](https://codeclimate.com/github/CenterForOpenScience/waterbutler/badges/gpa.svg)](https://codeclimate.com/github/CenterForOpenScience/waterbutler) +[![Coverage Status](https://coveralls.io/repos/github/CenterForOpenScience/waterbutler/badge.svg)](https://coveralls.io/github/CenterForOpenScience/waterbutler) `master` Build Status: [![Build Status](https://travis-ci.org/CenterForOpenScience/waterbutler.svg?branch=master)](https://travis-ci.org/CenterForOpenScience/waterbutler) diff --git a/dev-requirements.txt b/dev-requirements.txt index 9b163f29d..1ff5527a2 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -10,4 +10,5 @@ pyflakes pytest==2.8.2 pytest-asyncio==0.3.0 pytest-cov==2.2.0 +python-coveralls redis diff --git a/setup.cfg b/setup.cfg index 4f0b48df9..90521b96b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -5,4 +5,4 @@ [flake8] ignore = E501,E731,E127,E128 max-line-length = 100 -exclude = .ropeproject,tests/*,src/* +exclude = .ropeproject,tests/*,src/*,env, venv