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