Fix Travis builds continuing after failed lint

This commit is contained in:
Schuyler Cebulskie
2017-01-13 20:23:44 -05:00
parent 7357fc2163
commit fa85da19a8
2 changed files with 2 additions and 1 deletions

View File

@@ -7,7 +7,6 @@ cache:
- node_modules - node_modules
install: npm install install: npm install
script: script:
- npm run lint
- bash ./deploy/deploy.sh - bash ./deploy/deploy.sh
env: env:
global: global:

View File

@@ -4,12 +4,14 @@
set -e set -e
function tests { function tests {
npm run lint
npm run test-docs npm run test-docs
VERSIONED=false npm run web-dist VERSIONED=false npm run web-dist
exit 0 exit 0
} }
function build { function build {
npm run lint
npm run docs npm run docs
VERSIONED=false npm run web-dist VERSIONED=false npm run web-dist
} }