From fa85da19a8b117ab1d801a0fa0031d9026b10dad Mon Sep 17 00:00:00 2001 From: Schuyler Cebulskie Date: Fri, 13 Jan 2017 20:23:44 -0500 Subject: [PATCH] Fix Travis builds continuing after failed lint --- .travis.yml | 1 - deploy/deploy.sh | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 6bdf028d3..e1f264647 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,6 @@ cache: - node_modules install: npm install script: - - npm run lint - bash ./deploy/deploy.sh env: global: diff --git a/deploy/deploy.sh b/deploy/deploy.sh index 97b3539bc..0724f03e5 100644 --- a/deploy/deploy.sh +++ b/deploy/deploy.sh @@ -4,12 +4,14 @@ set -e function tests { + npm run lint npm run test-docs VERSIONED=false npm run web-dist exit 0 } function build { + npm run lint npm run docs VERSIONED=false npm run web-dist }