Travis: examples ci

This commit is contained in:
Jeronimo Vallelunga 2017-07-12 22:17:48 -03:00
parent 48202528ec
commit 83e852dc95
2 changed files with 4 additions and 4 deletions

View File

@ -13,15 +13,13 @@ addons:
- g++-4.8
script:
- npm run test
- npm run example:webapp:install
- npm run example:webapp:build
- npm run example:ci
branches:
only:
- master
cache:
directories:
- node_modules
- example/webapp/node_modules
deploy:
provider: pages
skip_cleanup: true

View File

@ -19,7 +19,9 @@
"example:webapp:build": "cd example/webapp && npm run build",
"example:webapp:deploy": "cd example/webapp && npm run deploy",
"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": {
"presets": [