-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathcodeclimate.saas.txt
34 lines (29 loc) · 2.05 KB
/
codeclimate.saas.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
┏━━━━━━━━━━━━━━━━━┓
┃ CODECLIMATE ┃
┗━━━━━━━━━━━━━━━━━┛
CODE CLIMATE ==> #Static code analysis (JavaScript, Ruby, PHP):
# - Complexity (number of assignments, functions calls, conditions by functions and files)
# - Churn (how often updated)
# - Duplicated code
# - Coverage
# - Syntax problem / bad coding
# - Security vulnerabilities (Rails only)
#How:
# - done on GitHub push received webhook
# - also comment on pull requests
# - manual trigger (Refresh icon)
#Also:
# - Comparison between branches, and over time. News feed.
# - Can exclude files
# - can open GitHub issues, PivotalTracker's bug issues
#Notifications:
# - email, campfire, hipchat, slack, RSS
codeclimate #Must take LCOV_FILE in stdin, and ENVVAR CODECLIMATE_REPO_TOKEN
#Node module codeclimate-test-reporter (0.0.3)
STATUS IMAGE ==> #Image: https://codeclimate.com/github/USER/REPO/badges/gpa|coverage.svg
#Or:
# - https://img.shields.io/codeclimate/TYPE/USER/REPO.svg
# - TYPE can be: issues, maintainability[-percentage], coverage[-letter], tech-debt
#Link: Github repo
TRAVIS ==> # - TRAVISCONF.addons.code_climate.repo_token CODE_CLIMATE_TOKEN
# - after_script STEP: codeclimate <LCOV_FILE