Skip to content

Commit ce6948f

Browse files
gkalpakalxhub
authored andcommitted
ci(docs-infra): remove jobs from Travis config (angular#26377)
PR Close angular#26377
1 parent 38d626a commit ce6948f

9 files changed

+3
-180
lines changed

.travis.yml

-6
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,10 @@ env:
3939
# - CI_MODE=browserstack_required
4040
- CI_MODE=saucelabs_optional
4141
- CI_MODE=browserstack_optional
42-
- CI_MODE=aio_tools_test
43-
- CI_MODE=aio
44-
- CI_MODE=aio_local
45-
- CI_MODE=aio_e2e AIO_SHARD=0
46-
- CI_MODE=aio_e2e AIO_SHARD=1
4742

4843
matrix:
4944
fast_finish: true
5045
allow_failures:
51-
- env: "CI_MODE=aio_local"
5246
- env: "CI_MODE=saucelabs_optional"
5347
- env: "CI_MODE=browserstack_optional"
5448

aio/aio-builds-setup/docs/misc--integrate-with-ci.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
TODO (gkalpak): Add docs. Mention:
55
- Testing on CI.
6-
Relevant files: `scripts/ci/test-aio.sh`, `aio/aio-builds-setup/scripts/test.sh`
6+
Relevant files: `aio/aio-builds-setup/scripts/test.sh`
77
- Deploying from CI.
88
Relevant files: `.circleci/config.yml`, `scripts/ci/deploy.sh`, `aio/scripts/build-artifacts.sh`,
99
`aio/scripts/deploy-to-firebase.sh`

scripts/ci/build.sh

+1-26
Original file line numberDiff line numberDiff line change
@@ -15,32 +15,7 @@ if [[ ${TRAVIS_TEST_RESULT=0} == 1 ]]; then
1515
fi
1616

1717
# No build needed for bazel or aio docs tests
18-
if [[ ${CI_MODE:-} == "bazel" || ${CI_MODE:-} == "docs_test" ]]; then
19-
exit 0;
20-
fi
21-
22-
# Build the Angular packages
23-
if [[ ${CI_MODE:-} == "aio_local" || ${CI_MODE:-} == "aio_e2e" || ${CI_MODE:-} == "aio_tools_test" ]]; then
24-
travisFoldStart "build.packages.$CI_MODE"
25-
(
26-
./build.sh --examples=false
27-
)
28-
travisFoldEnd "build.packages.$CI_MODE"
29-
30-
# Exit if no further build required
31-
if [[ ${CI_MODE:-} == "aio_e2e" || ${CI_MODE:-} == "aio_tools_test" ]]; then
32-
exit 0;
33-
fi
34-
fi
35-
36-
# Build angular.io, then exit (no further build required)
37-
if [[ ${CI_MODE:-} == "aio" || ${CI_MODE:-} == "aio_local" ]]; then
38-
travisFoldStart "build.aio"
39-
(
40-
cd "`dirname $0`/../../aio"
41-
yarn $([[ ${CI_MODE} == "aio" ]] && echo "build" || echo "build-local")
42-
)
43-
travisFoldEnd "build.aio"
18+
if [[ ${CI_MODE:-} == "bazel" ]]; then
4419
exit 0;
4520
fi
4621

scripts/ci/install.sh

+1-19
Original file line numberDiff line numberDiff line change
@@ -47,29 +47,11 @@ travisFoldStart "bower-install"
4747
travisFoldEnd "bower-install"
4848

4949

50-
if [[ ${TRAVIS} &&
51-
${CI_MODE} == "aio" ||
52-
${CI_MODE} == "aio_local" ||
53-
${CI_MODE} == "aio_e2e" ||
54-
${CI_MODE} == "aio_tools_test"
55-
]]; then
56-
# angular.io: Install all yarn dependencies according to angular.io/yarn.lock
57-
travisFoldStart "yarn-install.aio"
58-
(
59-
cd ${PROJECT_ROOT}/aio
60-
yarn install --frozen-lockfile --non-interactive
61-
)
62-
travisFoldEnd "yarn-install.aio"
63-
fi
64-
6550
# Install Chromium
6651
if [[ ${TRAVIS} &&
6752
${CI_MODE} == "js" ||
6853
${CI_MODE} == "e2e" ||
69-
${CI_MODE} == "e2e_2" ||
70-
${CI_MODE} == "aio" ||
71-
${CI_MODE} == "aio_local" ||
72-
${CI_MODE} == "aio_e2e"
54+
${CI_MODE} == "e2e_2"
7355
]]; then
7456
travisFoldStart "install-chromium"
7557
(

scripts/ci/test-aio-e2e.sh

-18
This file was deleted.

scripts/ci/test-aio-local.sh

-30
This file was deleted.

scripts/ci/test-aio-tools.sh

-16
This file was deleted.

scripts/ci/test-aio.sh

-52
This file was deleted.

scripts/ci/test.sh

-12
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,4 @@ case ${CI_MODE} in
3434
browserstack_optional)
3535
${thisDir}/test-browserstack.sh
3636
;;
37-
aio_tools_test)
38-
${thisDir}/test-aio-tools.sh
39-
;;
40-
aio)
41-
${thisDir}/test-aio.sh
42-
;;
43-
aio_local)
44-
${thisDir}/test-aio-local.sh
45-
;;
46-
aio_e2e)
47-
${thisDir}/test-aio-e2e.sh
48-
;;
4937
esac

0 commit comments

Comments
 (0)