angular-cn/scripts/before-install.sh
Patrice Chalin b772079bc9 chore(install): fix install scripts & improve local usage (#2041)
Fix a few minor problems with Travis install & build scripts.
Other changes allow `before-install.sh` to be run locally.
2016-08-11 17:44:42 -07:00

13 lines
239 B
Bash
Executable File

#!/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