From 58d336a969366fb137c9ff2838471b498e94d976 Mon Sep 17 00:00:00 2001 From: Brian Hicks Date: Tue, 20 Sep 2016 09:43:37 -0500 Subject: [PATCH 1/3] codeclimate: add --- .codeclimate.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .codeclimate.yml diff --git a/.codeclimate.yml b/.codeclimate.yml new file mode 100644 index 000000000..adeddfb81 --- /dev/null +++ b/.codeclimate.yml @@ -0,0 +1,24 @@ +--- +engines: + gofmt: + enabled: true + + golint: + enabled: true + + govet: + enabled: true + + markdownlint: + enabled: true + + fixme: + enabled: true + +ratings: + paths: + - "**.go" + - "**.md" + +exclude_paths: + - vendor/ From a126a46e5c223a97fa1c94c3d43076521f551a99 Mon Sep 17 00:00:00 2001 From: Brian Hicks Date: Tue, 20 Sep 2016 09:45:15 -0500 Subject: [PATCH 2/3] codeclimate: add shellcheck --- .codeclimate.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.codeclimate.yml b/.codeclimate.yml index adeddfb81..47caab205 100644 --- a/.codeclimate.yml +++ b/.codeclimate.yml @@ -12,6 +12,9 @@ engines: markdownlint: enabled: true + shellcheck: + enabled: true + fixme: enabled: true @@ -19,6 +22,7 @@ ratings: paths: - "**.go" - "**.md" + - "**.sh" exclude_paths: - vendor/ From aeb6dd7cf0143440a9773c94c6d5fe264061e671 Mon Sep 17 00:00:00 2001 From: Brian Hicks Date: Tue, 20 Sep 2016 09:49:33 -0500 Subject: [PATCH 3/3] docs: add codeclimate badge --- README.md | 1 + docs/index.html | 3 ++- docs_source/content/index.md | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a2528eda1..4f4f6bfa3 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,7 @@ runs tasks in parallel. - Module verification: only run trusted modules. [![Slack Status](http://converge-slack.aster.is/badge.svg)](http://converge-slack.aster.is) +[![Code Climate](https://codeclimate.com/github/asteris-llc/converge/badges/gpa.svg)](https://codeclimate.com/github/asteris-llc/converge) **Table of Contents** diff --git a/docs/index.html b/docs/index.html index dbd20d7e2..0da86800c 100644 --- a/docs/index.html +++ b/docs/index.html @@ -512,7 +512,8 @@

Converge

  • Module verification: only run trusted modules.
  • -

    Slack Status

    +

    Slack Status +Code Climate

    Installation

    diff --git a/docs_source/content/index.md b/docs_source/content/index.md index 3c1d71620..47567289d 100644 --- a/docs_source/content/index.md +++ b/docs_source/content/index.md @@ -21,6 +21,7 @@ runs tasks in parallel. - Module verification: only run trusted modules. [![Slack Status](http://converge-slack.aster.is/badge.svg)](http://converge-slack.aster.is) +[![Code Climate](https://codeclimate.com/github/asteris-llc/converge/badges/gpa.svg)](https://codeclimate.com/github/asteris-llc/converge) ## Installation