Skip to content

Commit 9ccfcca

Browse files
committed
Used new codeclimate settings, upped v number
1 parent e5ce47c commit 9ccfcca

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

.travis.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
language: node_js
22
node_js:
33
- '0.10'
4+
5+
before_install:
6+
- "npm install -g codeclimate-test-reporter"
7+
- "npm install -g istanbul"
8+
49
after_script:
5-
- cat coverage/lcov.info | codeclimate
6-
addons:
7-
code_climate:
8-
repo_token: a422a1696c17a5184d90637b08facc0496c55d7f3043a8d7afa2341f34633b86
10+
- CODECLIMATE_REPO_TOKEN=974e95cf44845d3e57f67cda00cefc2bf87689f6294325cfd94fcd0e1e43cf82 codeclimate < coverage/lcov.info

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"name": "doi-regex",
3-
"version": "0.1.1",
3+
"version": "0.1.2",
44
"description": "Regular expression for matching DOIs",
55
"main": "index.js",
66
"scripts": {
7-
"test": "node spec/test.js | node_modules/.bin/faucet"
7+
"test": "istanbul cover spec/test.js | node_modules/.bin/faucet"
88
},
99
"repository": {
1010
"type": "git",
@@ -39,6 +39,7 @@
3939
"homepage": "https://github.com/BeagleLab/doi",
4040
"devDependencies": {
4141
"faucet": "0.0.1",
42+
"istanbul": "^0.3.5",
4243
"lodash": "^2.4.1",
4344
"minimist": "^1.1.0",
4445
"tape": "^3.0.3"

0 commit comments

Comments
 (0)