MOBILE-3401 travis: Fail with lint

main
Pau Ferrer Ocaña 2020-06-11 14:13:25 +02:00
parent 7cdb06c69f
commit 0db91392a4
1 changed files with 3 additions and 0 deletions

View File

@ -2,6 +2,9 @@
source "scripts/functions.sh"
npm run build --bailOnLintError true --typeCheckOnLint true
if [ $? -ne 0 ]; then
exit 1
fi
if [ -z $GIT_ORG_PRIVATE ] || [ -z $GIT_TOKEN ]; then
print_error "Env vars not correctly defined"