Travis: examples ci
This commit is contained in:
parent
48202528ec
commit
83e852dc95
|
@ -13,15 +13,13 @@ addons:
|
||||||
- g++-4.8
|
- g++-4.8
|
||||||
script:
|
script:
|
||||||
- npm run test
|
- npm run test
|
||||||
- npm run example:webapp:install
|
- npm run example:ci
|
||||||
- npm run example:webapp:build
|
|
||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
- node_modules
|
- node_modules
|
||||||
- example/webapp/node_modules
|
|
||||||
deploy:
|
deploy:
|
||||||
provider: pages
|
provider: pages
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
|
|
|
@ -19,7 +19,9 @@
|
||||||
"example:webapp:build": "cd example/webapp && npm run build",
|
"example:webapp:build": "cd example/webapp && npm run build",
|
||||||
"example:webapp:deploy": "cd example/webapp && npm run deploy",
|
"example:webapp:deploy": "cd example/webapp && npm run deploy",
|
||||||
"example:start": "npm run example:peripheral:start" ,
|
"example:start": "npm run example:peripheral:start" ,
|
||||||
"example:deploy": "npm run example:webapp:deploy"
|
"example:deploy": "npm run example:webapp:deploy",
|
||||||
|
"preexample:ci": "npm run example:webapp:install",
|
||||||
|
"example:ci": "npm run example:webapp:build"
|
||||||
},
|
},
|
||||||
"babel": {
|
"babel": {
|
||||||
"presets": [
|
"presets": [
|
||||||
|
|
Loading…
Reference in New Issue