Switched to coveralls

This commit is contained in:
Ramon Gebben
2018-04-20 16:08:54 +02:00
parent b1b46aa6e5
commit 9093ab59af
2 changed files with 14 additions and 6 deletions

View File

@@ -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

View File

@@ -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 <ramon@sensorfact.nl>",
"license": "MIT",