diff --git a/.travis.yml b/.travis.yml index e2ed992e0d..89f501a413 100644 --- a/.travis.yml +++ b/.travis.yml @@ -145,4 +145,3 @@ cache: directories: - node_modules - tmp - - lib/dist diff --git a/scripts/travis/build/build.sh b/scripts/travis/build/build.sh index 036dfd5517..719d461960 100755 --- a/scripts/travis/build/build.sh +++ b/scripts/travis/build/build.sh @@ -24,11 +24,11 @@ then npm install - nx affected --exclude=cli --target=build --all + nx affected --exclude=cli --target=build --all || exit 1; ./scripts/build/build-cli.sh || exit 1; else echo "====== Update the package.json with latest JS-API/CLI deps =====" npx @alfresco/adf-cli@alpha update-version --alpha --pathPackage "$(pwd)" npm install; - nx affected --target=build --base=$BASE_HASH --head=$HEAD_HASH --exclude=cli --prod --with-deps + nx affected --target=build --base=$BASE_HASH --head=$HEAD_HASH --exclude=cli --prod --with-deps || exit 1; fi;