MOBILE-3401 travis: Fail with lint
parent
7cdb06c69f
commit
0db91392a4
|
@ -2,6 +2,9 @@
|
||||||
source "scripts/functions.sh"
|
source "scripts/functions.sh"
|
||||||
|
|
||||||
npm run build --bailOnLintError true --typeCheckOnLint true
|
npm run build --bailOnLintError true --typeCheckOnLint true
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -z $GIT_ORG_PRIVATE ] || [ -z $GIT_TOKEN ]; then
|
if [ -z $GIT_ORG_PRIVATE ] || [ -z $GIT_TOKEN ]; then
|
||||||
print_error "Env vars not correctly defined"
|
print_error "Env vars not correctly defined"
|
||||||
|
|
Loading…
Reference in New Issue