Travis: examples install & build

This commit is contained in:
Jeronimo Vallelunga 2017-07-12 21:20:14 -03:00
parent 4b610d7cf4
commit 48202528ec
2 changed files with 5 additions and 1 deletions

View File

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

View File

@ -12,11 +12,13 @@
"test:watch": "npm test -- --watch",
"prepublish": "npm run build",
"release": "np",
"example:peripheral:install": "cd example/peripheral && npm install",
"example:peripheral:build": "cd example/peripheral && npm run build",
"example:peripheral:start": "cd example/peripheral && npm start",
"example:webapp:install": "cd example/webapp && npm install",
"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:build": "npm run example:webapp:build",
"example:deploy": "npm run example:webapp:deploy"
},
"babel": {