angular-docs-cn/scripts/before-install.sh

13 lines
239 B
Bash
Raw Normal View History

#!/usr/bin/env bash
set -e -o pipefail
[[ -z "$NGIO_ENV_DEFS" ]] && . ./scripts/env-set.sh
[[ -n "$TRAVIS" ]] && . ./scripts/env-info-and-check.sh
if [ -z "$TRAVIS" ]; then
set -x
npm install -g gulp --no-optional
set +x
fi