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