Files
angular__angular/scripts/ci/travis-script.sh
T
Paul Gschwendtner d84612eac7 build: conditional travis build stages (#9949)
No longer runs the build artifacts, docs-content, dashboard, screenshot deployment tasks on Pull Requests. This means that there aren't any noop jobs running anymore
2018-02-14 10:01:35 -08:00

17 lines
448 B
Bash
Executable File

#!/bin/bash
# Script that runs in every Travis CI container. The script is responsible for delegating
# to the different scripts that should run for specific Travis jobs in a build stage.
# The script should immediately exit if any command in the script fails.
set -e
# Go to project directory
cd $(dirname $0)/../..
if [[ "${MODE}" ]]; then
./scripts/ci/travis-testing.sh
elif [[ "${DEPLOY_MODE}" ]]; then
./scripts/ci/travis-deploy.sh
fi