From 9093ab59af67f9c0e73b73b444b8ae1597bafcbe Mon Sep 17 00:00:00 2001 From: Ramon Gebben Date: Fri, 20 Apr 2018 16:08:54 +0200 Subject: [PATCH] Switched to coveralls --- .travis.yml | 16 ++++++++++++---- package.json | 4 ++-- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 31f3685..5b9554a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,15 @@ language: node_js -before_install: - - curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.6.0 - - export PATH="$HOME/.yarn/bin:$PATH" node_js: - - "9" + - "8" + +cache: + yarn: true + directories: + - "node_modules" + +before_script: + - yarn add coveralls + +script: + - yarn test-travis diff --git a/package.json b/package.json index 490951e..c2b77e0 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,6 @@ "lib": "lib" }, "devDependencies": { - "codecov": "^3.0.0", "eslint": "^4.19.1", "eslint-config-standard": "^11.0.0", "eslint-plugin-import": "^2.11.0", @@ -32,7 +31,8 @@ "mock-fs": "^4.4.2" }, "scripts": { - "test": "jest && codecov" + "test": "jest --coverage --silent=false", + "test-travis": "yarn test && cat ./coverage/lcov.info | coveralls" }, "author": "Ramon Gebben ", "license": "MIT",