From 6122dd3538cda7c71dd6048e0ec6230809eb543d Mon Sep 17 00:00:00 2001 From: David Dias Date: Wed, 22 Aug 2018 21:29:06 -0400 Subject: [PATCH] Add codecov to travis --- .nvmrc | 1 + .travis.yml | 32 +++++++++++++++++--------------- 2 files changed, 18 insertions(+), 15 deletions(-) create mode 100644 .nvmrc diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 000000000..9717def23 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +v6.14.3 diff --git a/.travis.yml b/.travis.yml index fe5dae337..90cc8a537 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,20 +1,22 @@ -sudo: false - language: node_js +sudo: false node_js: - - "0.10" - - "0.12" - - "4.4.3" - - "5.9.1" - - "6.0.0" - + - "6.14.1" cache: directories: - node_modules - -matrix: - fast_finish: true - -script: "grunt" - -after_success: istanbul-coveralls +install: + - npm install + - npm install -g codecov +notifications: + email: + recipients: + - thedaviddias@gmail.com +branches: + only: + - master + - /^greenkeeper/.*$/ +script: + - "grunt" + - istanbul cover ./node_modules/mocha/bin/_mocha --reporter lcovonly -- -R spec + - codecov