From 44183fd75379417d4d29bb07f153833abba11dcc Mon Sep 17 00:00:00 2001 From: Nikolay Kostyurin Date: Sat, 14 Jul 2018 02:14:37 +0200 Subject: [PATCH] feat(bbob): add codecov support to travis --- .travis.yml | 4 +++- package.json | 4 ++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index da37e8e..e4eddf8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,7 @@ node_js: - 'lts/*' script: + - 'npm install -g codecov' - 'npm run bootstrap' - 'set -e' - 'npm run lint' @@ -11,6 +12,7 @@ script: after_success: - 'npm run cover' + - 'codecov' notifications: - email: false \ No newline at end of file + email: false diff --git a/package.json b/package.json index 65802af..9800db6 100644 --- a/package.json +++ b/package.json @@ -28,5 +28,9 @@ "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" + }, + "jest": { + "coverageDirectory": "./coverage/", + "collectCoverage": true } }