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"] "collectCoverageFrom": ["src/**/*.js"]
} }

View File

@ -11,7 +11,7 @@ addons:
- g++-4.8 - g++-4.8
script: script:
- npm run test:ci - npm run test:ci
- npm run example:ci # - npm run example:ci
branches: branches:
only: only:
- master - master
@ -19,12 +19,12 @@ cache:
directories: directories:
- node_modules - node_modules
- example/webapp/node_modules - example/webapp/node_modules
deploy: # deploy:
provider: pages # provider: pages
skip_cleanup: true # skip_cleanup: true
github_token: $GITHUB_TOKEN # github_token: $GITHUB_TOKEN
local_dir: example/webapp/build # local_dir: example/webapp/build
on: # on:
branch: master # branch: master
after_success: after_success:
- npm run test:coverage && 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