From 0e110dc1562e6a8471485b6004b6aecd1369111a Mon Sep 17 00:00:00 2001 From: Khoa Nguyen Date: Sat, 12 Mar 2016 13:52:53 +0700 Subject: [PATCH] Use latest npm to workaround nyc issue with npm@3.7.1 https://github.com/bcoe/nyc/issues/190 --- .travis.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index df7ba9a1b..aa4c9780d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,7 +14,11 @@ cache: - test-boilerplate/node_modules - docs/node_modules -before_install: npm prune +before_install: + # nyc fail on npm@3.7.1. Remove this patch when node upgrade npm + # https://github.com/bcoe/nyc/issues/190 + - npm install -g npm@latest + - npm prune script: npm run test-with-coverage