From 83e852dc95c38aa2c560874e99e28e827da75f7d Mon Sep 17 00:00:00 2001 From: Jeronimo Vallelunga Date: Wed, 12 Jul 2017 22:17:48 -0300 Subject: [PATCH] Travis: examples ci --- .travis.yml | 4 +--- package.json | 4 +++- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index f26c628..6187793 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/package.json b/package.json index 54a23ab..0f22477 100644 --- a/package.json +++ b/package.json @@ -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": [