Skip to content

Commit

Permalink
👷 Adding coveralls coverage reporting 📈
Browse files Browse the repository at this point in the history
  • Loading branch information
puria committed May 29, 2018
1 parent 211f6f3 commit 5e79c8a
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 15 deletions.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ install:

script:
# - npm run lint # disabled in current semiotic
- npm run test
- npm run test --coverage

after_success:
- 'cat ./coverage/lcov.info | ./node_modules/.bin/coveralls'

cache:
directories:
Expand Down
2 changes: 1 addition & 1 deletion dist/semiotic.min.js

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"classnames": "2.2.5",
"conventional-changelog-cli": "1.1.1",
"conventional-recommended-bump": "0.3.0",
"coveralls": "^3.0.1",
"css-loader": "0.28.7",
"d3-dsv": "1.0.5",
"d3-random": "1.0.1",
Expand Down Expand Up @@ -140,8 +141,8 @@
"prop-types": "15.6.0",
"raf": "3.4.0",
"react": "16.2.0",
"react-dom": "16.2.0",
"react-annotation": "1.2.1",
"react-dom": "16.2.0",
"roughjs": "git://github.com/emeeks/rough",
"semiotic-mark": "0.2.9",
"svg-path-bounding-box": "1.0.4",
Expand All @@ -155,7 +156,8 @@
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx,mjs}"
"src/**/*.{js,jsx,mjs}",
"!src/docs/**"
],
"setupFiles": [
"<rootDir>/config/polyfills.js"
Expand Down
47 changes: 36 additions & 11 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2328,6 +2328,16 @@ cosmiconfig@^2.1.0, cosmiconfig@^2.1.1:
parse-json "^2.2.0"
require-from-string "^1.1.0"

coveralls@^3.0.1:
version "3.0.1"
resolved "https://registry.yarnpkg.com/coveralls/-/coveralls-3.0.1.tgz#12e15914eaa29204e56869a5ece7b9e1492d2ae2"
dependencies:
js-yaml "^3.6.1"
lcov-parse "^0.0.10"
log-driver "^1.2.5"
minimist "^1.2.0"
request "^2.79.0"

create-ecdh@^4.0.0:
version "4.0.3"
resolved "https://registry.yarnpkg.com/create-ecdh/-/create-ecdh-4.0.3.tgz#c9111b6f33045c4697f144787f9254cdc77c45ff"
Expand Down Expand Up @@ -5241,7 +5251,7 @@ js-tokens@^3.0.0, js-tokens@^3.0.2:
version "3.0.2"
resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b"

js-yaml@3.x, js-yaml@^3.0.2, js-yaml@^3.2.7, js-yaml@^3.4.3, js-yaml@^3.7.0, js-yaml@^3.8.4:
js-yaml@3.x, js-yaml@^3.0.2, js-yaml@^3.2.7, js-yaml@^3.4.3, js-yaml@^3.6.1, js-yaml@^3.7.0, js-yaml@^3.8.4:
version "3.11.0"
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.11.0.tgz#597c1a8bd57152f26d622ce4117851a51f5ebaef"
dependencies:
Expand Down Expand Up @@ -5519,6 +5529,10 @@ lcid@^1.0.0:
dependencies:
invert-kv "^1.0.0"

lcov-parse@^0.0.10:
version "0.0.10"
resolved "https://registry.yarnpkg.com/lcov-parse/-/lcov-parse-0.0.10.tgz#1b0b8ff9ac9c7889250582b70b71315d9da6d9a3"

less@2.7.1:
version "2.7.1"
resolved "https://registry.yarnpkg.com/less/-/less-2.7.1.tgz#6cbfea22b3b830304e9a5fb371d54fa480c9d7cf"
Expand Down Expand Up @@ -5835,6 +5849,10 @@ lodash@^3.2.0:
version "3.10.1"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-3.10.1.tgz#5bf45e8e49ba4189e17d482789dfd15bd140b7b6"

log-driver@^1.2.5:
version "1.2.7"
resolved "https://registry.yarnpkg.com/log-driver/-/log-driver-1.2.7.tgz#63b95021f0702fedfa2c9bb0a24e7797d71871d8"

log-symbols@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-1.0.2.tgz#376ff7b58ea3086a0f09facc74617eca501e1a18"
Expand Down Expand Up @@ -8147,13 +8165,6 @@ rollup@^0.51.8:
dependencies:
babel-runtime "^6.26.0"

"roughjs@git://github.com/emeeks/rough.git":
version "2.1.1"
uid "337522cf2ccea6218c7b2b8366e85c7d9538fe52"
resolved "git://github.com/emeeks/rough.git#337522cf2ccea6218c7b2b8366e85c7d9538fe52"
dependencies:
babel-runtime "^6.26.0"

rst-selector-parser@^2.2.2:
version "2.2.3"
resolved "https://registry.yarnpkg.com/rst-selector-parser/-/rst-selector-parser-2.2.3.tgz#81b230ea2fcc6066c89e3472de794285d9b03d91"
Expand Down Expand Up @@ -8221,6 +8232,13 @@ schema-utils@^0.3.0:
dependencies:
ajv "^5.0.0"

schema-utils@^0.4.5:
version "0.4.5"
resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-0.4.5.tgz#21836f0608aac17b78f9e3e24daff14a5ca13a3e"
dependencies:
ajv "^6.1.0"
ajv-keywords "^3.1.0"

scroll@^2.0.1:
version "2.0.3"
resolved "https://registry.yarnpkg.com/scroll/-/scroll-2.0.3.tgz#0951b785544205fd17753bc3d294738ba16fc2ab"
Expand All @@ -8237,9 +8255,9 @@ selfsigned@^1.9.1:
dependencies:
node-forge "0.7.5"

semiotic-mark@0.2.8:
version "0.2.8"
resolved "https://registry.yarnpkg.com/semiotic-mark/-/semiotic-mark-0.2.8.tgz#7b74dcc6f9bae20ac0836dc270b035828cc214c2"
semiotic-mark@0.2.9:
version "0.2.9"
resolved "https://registry.yarnpkg.com/semiotic-mark/-/semiotic-mark-0.2.9.tgz#63a7e7d7ff8b5b073411356e85064abb5b1565a2"
dependencies:
d3-interpolate "^1.1.5"
d3-scale "^1.0.3"
Expand Down Expand Up @@ -8750,6 +8768,13 @@ strip-json-comments@~2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a"

style-loader@^0.21.0:
version "0.21.0"
resolved "https://registry.yarnpkg.com/style-loader/-/style-loader-0.21.0.tgz#68c52e5eb2afc9ca92b6274be277ee59aea3a852"
dependencies:
loader-utils "^1.1.0"
schema-utils "^0.4.5"

supports-color@^0.2.0:
version "0.2.0"
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-0.2.0.tgz#d92de2694eb3f67323973d7ae3d8b55b4c22190a"
Expand Down

0 comments on commit 5e79c8a

Please sign in to comment.