Travis: test:ci
This commit is contained in:
parent
fa85ce3a07
commit
bdb8797e0e
|
@ -1,4 +1,3 @@
|
|||
{
|
||||
"testPathIgnorePatterns": ["/build/"],
|
||||
"collectCoverageFrom": ["src/**/*.js"]
|
||||
}
|
16
.travis.yml
16
.travis.yml
|
@ -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
|
Loading…
Reference in New Issue