Skip to content

Commit

Permalink
add codeclimate stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Barrett committed Jul 9, 2015
1 parent 4879ac3 commit 7620c4a
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
languages:
JavaScript: true

exclude_paths:
- gulpfile.js
- test/*
- dist
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ script: gulp ci
after_script:
- istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
- cat ./coverage/lcov.info | ./node_modules/codeclimate-test-reporter/bin/codeclimate.js
- rm -rf ./coverage
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#Timestring

[![Build Status](https://img.shields.io/travis/mike182uk/timestring.svg?style=flat-square)](http://travis-ci.org/mike182uk/timestring)
[![Code Climate](https://img.shields.io/codeclimate/github/mike182uk/timestring.svg?style=flat-square)](https://codeclimate.com/github/mike182uk/timestring)
[![Coveralls](https://img.shields.io/coveralls/mike182uk/timestring/master.svg?style=flat-square)](https://coveralls.io/r/mike182uk/timestring)
[![npm](https://img.shields.io/npm/dm/timestring.svg?style=flat-square)](https://www.npmjs.com/package/timestring)
[![License](https://img.shields.io/github/license/mike182uk/timestring.svg?style=flat-square)](https://www.npmjs.com/package/timestring)
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"description": "Parse a human readable time string into a time based value",
"homepage": "https://github.com/mike182uk/timestring",
"author": "Michael David Barrett <mike182uk@gmail.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git://github.com/mike182uk/timestring.git"
Expand All @@ -12,6 +13,7 @@
"devDependencies": {
"browserify": "^10.0.0",
"chai": "^2.3.0",
"codeclimate-test-reporter": "^0.1.0",
"coveralls": "^2.11.2",
"del": "^1.1.1",
"gulp": "^3.8.11",
Expand Down

0 comments on commit 7620c4a

Please sign in to comment.