From 2e3d616941b16add7948d44909cd1e25ac25ccb3 Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Thu, 27 Jul 2017 18:50:10 +0200 Subject: [PATCH] chore: consistent script names for travis setup (#5986) * Updates the outdated README in the `ci/` folder. * Renames the `env.sh` script to `travis-env.sh` because it only works for Travis and is not a generic script. --- .travis.yml | 2 +- scripts/ci/README.md | 9 ++++++--- scripts/ci/{env.sh => travis-env.sh} | 0 3 files changed, 7 insertions(+), 4 deletions(-) rename scripts/ci/{env.sh => travis-env.sh} (100%) diff --git a/.travis.yml b/.travis.yml index 97ab34f9f02..8c945558d49 100644 --- a/.travis.yml +++ b/.travis.yml @@ -42,7 +42,7 @@ env: - BROWSER_PROVIDER_ERROR_FILE=/tmp/angular-material2-build/errorfile before_install: - - source ./scripts/ci/env.sh + - source ./scripts/ci/travis-env.sh - npm i -g npm@^5.3.0 install: diff --git a/scripts/ci/README.md b/scripts/ci/README.md index 37ed0c7ddd4..840fbf881f7 100644 --- a/scripts/ci/README.md +++ b/scripts/ci/README.md @@ -2,6 +2,9 @@ This directory contains scripts that are related to CI only. -### `build-and-test.sh` - -The main script. Setup the tests environment, build the files using the `angular-cli` tool and run the tests. +| Script | Description | +| ----------------- | --------------------------------------------------------------------- | +| travis-env.sh | Runs at the beginning of a Travis build to set up the environment. | +| travis-script.sh | Main script that Travis will always execute for every job and mode. | +| travis-testing.sh | Script that controls all jobs inside of the testing build stage. | +| travis-deploy.sh | Script that controls all jobs inside of the deploy build stage. | diff --git a/scripts/ci/env.sh b/scripts/ci/travis-env.sh similarity index 100% rename from scripts/ci/env.sh rename to scripts/ci/travis-env.sh