Travis: test:ci

This commit is contained in:
Jeronimo Vallelunga 2017-07-13 01:33:33 -03:00
parent 66989e9f7c
commit fa85ce3a07
2 changed files with 11 additions and 8 deletions

View File

@ -0,0 +1,3 @@
{
"testPathIgnorePatterns": ["/src/"]
}

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