From 0db91392a439fa1ea496d0f9f8757186ddce55b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Thu, 11 Jun 2020 14:13:25 +0200 Subject: [PATCH] MOBILE-3401 travis: Fail with lint --- scripts/mirror.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/mirror.sh b/scripts/mirror.sh index 42a2ad88b..5ff8468c8 100755 --- a/scripts/mirror.sh +++ b/scripts/mirror.sh @@ -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"