Coverage: CI

This commit is contained in:
Jeronimo Vallelunga 2017-07-13 10:42:51 -03:00
parent 0968756dd9
commit 2fce638bf2
3 changed files with 3 additions and 2 deletions

View File

@ -27,4 +27,4 @@ deploy:
on: on:
branch: master branch: master
after_success: after_success:
- npm run test:coverage && codecov -t $CODECOV_TOKEN - npm run test:coverage:ci

View File

@ -12,6 +12,7 @@
"test:ci": "jest --config .jest.ci.json", "test:ci": "jest --config .jest.ci.json",
"test:watch": "npm test -- --watch", "test:watch": "npm test -- --watch",
"test:coverage": "npm test -- --coverage", "test:coverage": "npm test -- --coverage",
"test:coverage:ci": "npm run test:coverage && codecov -t $CODECOV_TOKEN",
"prepublish": "npm run build", "prepublish": "npm run build",
"release": "np", "release": "np",
"example:peripheral:install": "cd example/peripheral && npm install", "example:peripheral:install": "cd example/peripheral && npm install",

View File

@ -1,4 +1,4 @@
/* global jest, beforeEach, afterEach, test, expect */ /* global test, expect */
import Reducer from '.'; import Reducer from '.';
test('type: UNKNOWN', () => { test('type: UNKNOWN', () => {