From ef05a74629410149ec65f73b2285092081432f18 Mon Sep 17 00:00:00 2001 From: CJ Patoilo Date: Sun, 17 May 2020 19:43:10 -0300 Subject: [PATCH] Move testing lint to travis ci --- .travis.yml | 2 ++ package.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 6ba3662..d8d6a7c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,3 +6,5 @@ before_install: cache: directories: - node_modules +before_script: + - npm run lint diff --git a/package.json b/package.json index 5c9482c..1e30ea9 100644 --- a/package.json +++ b/package.json @@ -81,7 +81,7 @@ "visual-regression:compare": "backstop test --config backstop.config.js", "lint": "prettier-standard --check && sass-lint --verbose --no-exit", "prepublish": "run-s build", - "test": "run-s build lint && nyc ava" + "test": "npm run build && nyc ava" }, "husky": { "hooks": {