Skip to content

Commit 3d6142c

Browse files
committed
Setup coveralls and fix some code climate stuff
1 parent 721cc1e commit 3d6142c

File tree

5 files changed

+82
-20
lines changed

5 files changed

+82
-20
lines changed

.codeclimate.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,8 @@ engines:
1010
ratings:
1111
paths:
1212
- lib/**
13-
- specs/**
1413
- "**.js"
14+
exclude_paths:
15+
- "specs/"
16+
- "dist/"
17+
- "examples/"

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,7 @@ node_js:
77
before_script:
88
- export DISPLAY=:99.0
99
- sh -e /etc/init.d/xvfb start
10+
after_success:
11+
- cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
1012
script: npm run test:full
1113
cache: yarn

karma.conf.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,9 @@ module.exports = function(config) {
2626
},
2727

2828
coverageReporter: {
29-
type : 'lcov',
30-
dir : 'coverage/'
29+
type: 'lcov',
30+
dir: 'coverage/',
31+
subdir: '.'
3132
},
3233

3334
port: 9876,

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
"babel-preset-react": "^6.5.0",
3939
"babel-preset-stage-2": "^6.18.0",
4040
"codeclimate-test-reporter": "^0.4.0",
41+
"coveralls": "^2.11.15",
4142
"envify": "^3.4.1",
4243
"eslint": "^3.9.1",
4344
"eslint-config-airbnb": "latest",

yarn.lock

Lines changed: 72 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1360,6 +1360,16 @@ core-util-is@~1.0.0:
13601360
version "1.0.2"
13611361
resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7"
13621362

1363+
coveralls@^2.11.15:
1364+
version "2.11.15"
1365+
resolved "https://registry.yarnpkg.com/coveralls/-/coveralls-2.11.15.tgz#37d3474369d66c14f33fa73a9d25cee6e099fca0"
1366+
dependencies:
1367+
js-yaml "3.6.1"
1368+
lcov-parse "0.0.10"
1369+
log-driver "1.2.5"
1370+
minimist "1.2.0"
1371+
request "2.75.0"
1372+
13631373
cross-spawn@^4.0.0:
13641374
version "4.0.2"
13651375
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-4.0.2.tgz#7b9247621c23adfdd3856004a823cbe397424d41"
@@ -2165,6 +2175,14 @@ form-data@~1.0.0-rc3, form-data@~1.0.0-rc4:
21652175
combined-stream "^1.0.5"
21662176
mime-types "^2.1.11"
21672177

2178+
form-data@~2.0.0:
2179+
version "2.0.0"
2180+
resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.0.0.tgz#6f0aebadcc5da16c13e1ecc11137d85f9b883b25"
2181+
dependencies:
2182+
asynckit "^0.4.0"
2183+
combined-stream "^1.0.5"
2184+
mime-types "^2.1.11"
2185+
21682186
form-data@~2.1.1:
21692187
version "2.1.2"
21702188
resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.1.2.tgz#89c3534008b97eada4cbb157d58f6f5df025eae4"
@@ -2867,6 +2885,13 @@ js-tokens@^2.0.0:
28672885
version "2.0.0"
28682886
resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-2.0.0.tgz#79903f5563ee778cc1162e6dcf1a0027c97f9cb5"
28692887

2888+
2889+
version "3.6.1"
2890+
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.6.1.tgz#6e5fe67d8b205ce4d22fad05b7781e8dadcc4b30"
2891+
dependencies:
2892+
argparse "^1.0.7"
2893+
esprima "^2.6.0"
2894+
28702895
[email protected], js-yaml@^3.5.1:
28712896
version "3.7.0"
28722897
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.7.0.tgz#5c967ddd837a9bfdca5f2de84253abe8a1c03b80"
@@ -3255,6 +3280,10 @@ lodash@^4.0.0, lodash@^4.14.0, lodash@^4.2.0, lodash@^4.3.0, lodash@^4.5.0:
32553280
version "4.17.3"
32563281
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.3.tgz#557ed7d2a9438cac5fd5a43043ca60cb455e01f7"
32573282

3283+
3284+
version "1.2.5"
3285+
resolved "https://registry.yarnpkg.com/log-driver/-/log-driver-1.2.5.tgz#7ae4ec257302fd790d557cb10c97100d857b0056"
3286+
32583287
log4js@^0.6.31:
32593288
version "0.6.38"
32603289
resolved "https://registry.yarnpkg.com/log4js/-/log4js-0.6.38.tgz#2c494116695d6fb25480943d3fc872e662a522fd"
@@ -4482,39 +4511,35 @@ repeating@^2.0.0:
44824511
dependencies:
44834512
is-finite "^1.0.0"
44844513

4485-
request@2, request@^2.47.0, request@~2.69.0:
4486-
version "2.69.0"
4487-
resolved "https://registry.yarnpkg.com/request/-/request-2.69.0.tgz#cf91d2e000752b1217155c005241911991a2346a"
4514+
request@2, request@^2.47.0, request@^2.74.0, request@~2.74.0:
4515+
version "2.74.0"
4516+
resolved "https://registry.yarnpkg.com/request/-/request-2.74.0.tgz#7693ca768bbb0ea5c8ce08c084a45efa05b892ab"
44884517
dependencies:
44894518
aws-sign2 "~0.6.0"
44904519
aws4 "^1.2.1"
4491-
bl "~1.0.0"
4520+
bl "~1.1.2"
44924521
caseless "~0.11.0"
44934522
combined-stream "~1.0.5"
44944523
extend "~3.0.0"
44954524
forever-agent "~0.6.1"
4496-
form-data "~1.0.0-rc3"
4525+
form-data "~1.0.0-rc4"
44974526
har-validator "~2.0.6"
4498-
hawk "~3.1.0"
4527+
hawk "~3.1.3"
44994528
http-signature "~1.1.0"
45004529
is-typedarray "~1.0.0"
45014530
isstream "~0.1.2"
45024531
json-stringify-safe "~5.0.1"
45034532
mime-types "~2.1.7"
45044533
node-uuid "~1.4.7"
4505-
oauth-sign "~0.8.0"
4506-
qs "~6.0.2"
4534+
oauth-sign "~0.8.1"
4535+
qs "~6.2.0"
45074536
stringstream "~0.0.4"
4508-
tough-cookie "~2.2.0"
4537+
tough-cookie "~2.3.0"
45094538
tunnel-agent "~0.4.1"
45104539

4511-
4512-
version "2.9.203"
4513-
resolved "https://registry.yarnpkg.com/request/-/request-2.9.203.tgz#6c1711a5407fb94a114219563e44145bcbf4723a"
4514-
4515-
request@^2.74.0, request@~2.74.0:
4516-
version "2.74.0"
4517-
resolved "https://registry.yarnpkg.com/request/-/request-2.74.0.tgz#7693ca768bbb0ea5c8ce08c084a45efa05b892ab"
4540+
4541+
version "2.75.0"
4542+
resolved "https://registry.yarnpkg.com/request/-/request-2.75.0.tgz#d2b8268a286da13eaa5d01adf5d18cc90f657d93"
45184543
dependencies:
45194544
aws-sign2 "~0.6.0"
45204545
aws4 "^1.2.1"
@@ -4523,7 +4548,7 @@ request@^2.74.0, request@~2.74.0:
45234548
combined-stream "~1.0.5"
45244549
extend "~3.0.0"
45254550
forever-agent "~0.6.1"
4526-
form-data "~1.0.0-rc4"
4551+
form-data "~2.0.0"
45274552
har-validator "~2.0.6"
45284553
hawk "~3.1.3"
45294554
http-signature "~1.1.0"
@@ -4538,6 +4563,10 @@ request@^2.74.0, request@~2.74.0:
45384563
tough-cookie "~2.3.0"
45394564
tunnel-agent "~0.4.1"
45404565

4566+
4567+
version "2.9.203"
4568+
resolved "https://registry.yarnpkg.com/request/-/request-2.9.203.tgz#6c1711a5407fb94a114219563e44145bcbf4723a"
4569+
45414570
request@^2.79.0:
45424571
version "2.79.0"
45434572
resolved "https://registry.yarnpkg.com/request/-/request-2.79.0.tgz#4dfe5bf6be8b8cdc37fcf93e04b65577722710de"
@@ -4563,6 +4592,32 @@ request@^2.79.0:
45634592
tunnel-agent "~0.4.1"
45644593
uuid "^3.0.0"
45654594

4595+
request@~2.69.0:
4596+
version "2.69.0"
4597+
resolved "https://registry.yarnpkg.com/request/-/request-2.69.0.tgz#cf91d2e000752b1217155c005241911991a2346a"
4598+
dependencies:
4599+
aws-sign2 "~0.6.0"
4600+
aws4 "^1.2.1"
4601+
bl "~1.0.0"
4602+
caseless "~0.11.0"
4603+
combined-stream "~1.0.5"
4604+
extend "~3.0.0"
4605+
forever-agent "~0.6.1"
4606+
form-data "~1.0.0-rc3"
4607+
har-validator "~2.0.6"
4608+
hawk "~3.1.0"
4609+
http-signature "~1.1.0"
4610+
is-typedarray "~1.0.0"
4611+
isstream "~0.1.2"
4612+
json-stringify-safe "~5.0.1"
4613+
mime-types "~2.1.7"
4614+
node-uuid "~1.4.7"
4615+
oauth-sign "~0.8.0"
4616+
qs "~6.0.2"
4617+
stringstream "~0.0.4"
4618+
tough-cookie "~2.2.0"
4619+
tunnel-agent "~0.4.1"
4620+
45664621
require-uncached@^1.0.2:
45674622
version "1.0.3"
45684623
resolved "https://registry.yarnpkg.com/require-uncached/-/require-uncached-1.0.3.tgz#4e0d56d6c9662fd31e43011c4b95aa49955421d3"

0 commit comments

Comments
 (0)