From aedafa7d5ea31b5c14822a0ea2c6d481e46ed2e2 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Thu, 21 Jul 2016 23:09:22 -0700 Subject: [PATCH] Fix travis (#76) --- .travis.yml | 3 +++ package.json | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 31e6113ac4..79aae443ee 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,2 +1,5 @@ sudo: false language: node_js +install: + - npm install + - bower install diff --git a/package.json b/package.json index b45a199a0b..9f61ee419f 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,9 @@ "watch_ru_all": "npm run watch_ru_core | npm run watch_ru_demo", "watch_ru_core": "rollup --config rollup/core.js --watch", "watch_ru_demo": "rollup --config rollup/demo.js --watch", - "test": "eslint src panels --ext html && ls -1 src/**/*.html panels/**/*.html | xargs polymer lint --input" + "lint_js": "eslint src panels --ext html", + "lint_html": "ls -1 src/**/*.html panels/**/*.html | xargs polymer lint --input", + "test": "npm run lint_js && npm run lint_html" }, "author": "Paulus Schoutsen (http://paulusschoutsen.nl)", "license": "MIT",