Travis: test:ci

This commit is contained in:
Jeronimo Vallelunga 2017-07-13 01:30:39 -03:00
parent 8f0fb7b570
commit 66989e9f7c
4 changed files with 5 additions and 3 deletions

0
.jest.ci.json Normal file
View File

View File

@ -1,3 +1,4 @@
{
"testPathIgnorePatterns": ["/src/"]
"testPathIgnorePatterns": ["/build/"],
"collectCoverageFrom": ["src/**/*.js"]
}

View File

@ -10,7 +10,7 @@ addons:
- gcc-4.8
- g++-4.8
script:
- npm run test
- npm run test:ci
# - npm run example:ci
branches:
only:

View File

@ -9,8 +9,9 @@
"prebuild": "npm run eslint",
"build": "babel src -d build",
"test": "jest --config .jest.json",
"test:ci": "jest --config .jest.ci.json",
"test:watch": "npm test -- --watch",
"test:coverage": "jest --coverage",
"test:coverage": "npm test -- --coverage",
"prepublish": "npm run build",
"release": "np",
"example:peripheral:install": "cd example/peripheral && npm install",