Travis: coverage 3
This commit is contained in:
parent
cd95483b2c
commit
4e38271b3a
|
@ -1,4 +1,3 @@
|
|||
{
|
||||
"testPathIgnorePatterns": ["/build/"],
|
||||
"collectCoverageFrom": ["src/**/*.js"]
|
||||
"testPathIgnorePatterns": ["/src/"]
|
||||
}
|
|
@ -10,7 +10,7 @@ addons:
|
|||
- gcc-4.8
|
||||
- g++-4.8
|
||||
script:
|
||||
- npm run test:coverage
|
||||
- npm run test
|
||||
# - npm run example:ci
|
||||
branches:
|
||||
only:
|
||||
|
@ -27,4 +27,4 @@ cache:
|
|||
# on:
|
||||
# branch: master
|
||||
after_success:
|
||||
- bash <(curl -s https://codecov.io/bash) -e TRAVIS_NODE_VERSION
|
||||
- npm run test:coverage && bash <(curl -s https://codecov.io/bash) -e TRAVIS_NODE_VERSION
|
|
@ -9,8 +9,8 @@
|
|||
"prebuild": "npm run eslint",
|
||||
"build": "babel src -d build",
|
||||
"test": "jest --config .jest.json",
|
||||
"test:coverage": "jest --coverage",
|
||||
"test:watch": "npm test -- --watch",
|
||||
"test:coverage": "jest --coverage",
|
||||
"prepublish": "npm run build",
|
||||
"release": "np",
|
||||
"example:peripheral:install": "cd example/peripheral && npm install",
|
||||
|
|
Loading…
Reference in New Issue