From bb5ddee71092c816b091bd61af4b3602c90cba94 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Sat, 5 Jan 2019 00:17:24 -0800 Subject: [PATCH] ci: remove build steps that are no longer needed (#27937) the metadata build seems to be needed only by the offline compiler tests which is currently disabled PR Close #27937 --- scripts/ci/build.sh | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/scripts/ci/build.sh b/scripts/ci/build.sh index 87ce4005e0..1b1ad93068 100755 --- a/scripts/ci/build.sh +++ b/scripts/ci/build.sh @@ -7,29 +7,7 @@ readonly thisDir=$(cd $(dirname $0); pwd) source ${thisDir}/_travis-fold.sh -# If the previous commands in the `script` section of .travis.yaml failed, then abort. -# The variable is not set in early stages of the build, so we default to 0 there. -# https://docs.travis-ci.com/user/environment-variables/ -if [[ ${TRAVIS_TEST_RESULT=0} == 1 ]]; then - exit 1; -fi - -# No build needed for bazel or aio docs tests -if [[ ${CI_MODE:-} == "bazel" ]]; then - exit 0; -fi - -travisFoldStart "tsc tools" - # TODO: I think these three can be deleted... but I'm not sure - # let's delete them one at a time and test on CI - $(npm bin)/tsc -p tools - $(npm bin)/tsc -p packages/compiler/tsconfig-tools.json - $(npm bin)/tsc -p packages/compiler-cli/tsconfig-tools.json -travisFoldEnd "tsc tools" - - travisFoldStart "tsc all" - node dist/tools/@angular/compiler-cli/src/main -p packages/tsconfig-metadata.json $(npm bin)/tsc -p packages $(npm bin)/tsc -p packages/examples $(npm bin)/tsc -p modules