From 77d886945d23b571809d62451e1f74b664d5714a Mon Sep 17 00:00:00 2001 From: Ruben Verweij Date: Thu, 16 Feb 2017 16:07:06 +0100 Subject: [PATCH] Add codeclimate integration --- .codeclimate.yml | 15 +++++++++++++++ .travis.yml | 6 ++++++ README.md | 2 ++ 3 files changed, 23 insertions(+) create mode 100644 .codeclimate.yml diff --git a/.codeclimate.yml b/.codeclimate.yml new file mode 100644 index 0000000..6e37ffc --- /dev/null +++ b/.codeclimate.yml @@ -0,0 +1,15 @@ +engines: + duplication: + enabled: true + config: + languages: + - python + fixme: + enabled: true + radon: + enabled: true +ratings: + paths: + - "**.py" +exclude_paths: + - tests/ \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index d64018d..c60fadb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,12 @@ language: python git: depth: 3 +notifications: + email: false +addons: + code_climate: + repo_token: 8582900c285e4da0f253555b1bac1ba501bd6ff07850b0f227166b3cdac59ecc + python: - "2.7" - "3.4" diff --git a/README.md b/README.md index be635a6..17edf98 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ # nd2reader [![Build Status](https://travis-ci.org/rbnvrw/nd2reader.svg?branch=master)](https://travis-ci.org/rbnvrw/nd2reader) +[![Test Coverage](https://codeclimate.com/github/rbnvrw/nd2reader/badges/coverage.svg)](https://codeclimate.com/github/rbnvrw/nd2reader/coverage) +[![Code Climate](https://codeclimate.com/github/rbnvrw/nd2reader/badges/gpa.svg)](https://codeclimate.com/github/rbnvrw/nd2reader) ### About