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 - 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

View File

@ -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": [