mirror of
https://github.com/danbulant/discord.js
synced 2026-07-07 12:11:11 +00:00
Fix Travis builds continuing after failed lint
This commit is contained in:
parent
7357fc2163
commit
fa85da19a8
2 changed files with 2 additions and 1 deletions
|
|
@ -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:
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue