Travis: test:ci

This commit is contained in:
Jeronimo Vallelunga 2017-07-13 01:40:44 -03:00
parent fa85ce3a07
commit bdb8797e0e
2 changed files with 8 additions and 9 deletions

View File

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

View File

@ -11,7 +11,7 @@ addons:
- g++-4.8
script:
- npm run test:ci
- npm run example:ci
# - npm run example:ci
branches:
only:
- master
@ -19,12 +19,12 @@ cache:
directories:
- node_modules
- example/webapp/node_modules
deploy:
provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN
local_dir: example/webapp/build
on:
branch: master
# deploy:
# provider: pages
# skip_cleanup: true
# github_token: $GITHUB_TOKEN
# local_dir: example/webapp/build
# on:
# branch: master
after_success:
- npm run test:coverage && bash <(curl -s https://codecov.io/bash) -e TRAVIS_NODE_VERSION