This repository was archived by the owner on Dec 4, 2017. It is now read-only.
File tree 3 files changed +8
-8
lines changed
3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 2
2
3
3
set -e -o pipefail
4
4
5
- ./scripts/env-info-and-check.sh
5
+ [[ -z " $NGIO_ENV_DEFS " ]] && . ./scripts/env-set.sh
6
+ [[ -n " $TRAVIS " ]] && . ./scripts/env-info-and-check.sh
6
7
7
- if [[ 0 ]]; then
8
- # Doesn't seem to be necessary. Disabling.
9
- travis_fold start install.globals
8
+ if [ -z " $TRAVIS " ]; then
10
9
set -x
11
10
npm install -g gulp --no-optional
12
11
set +x
13
- travis_fold end install.globals
14
12
fi
Original file line number Diff line number Diff line change 2
2
3
3
set -e -o pipefail
4
4
5
+ [[ -z " $NGIO_ENV_DEFS " ]] && . ./scripts/env-set.sh
6
+
5
7
travis_fold start env_info
6
8
echo ENVIRONMENT INFO
7
9
travis_fold start env_info.path
11
13
travis_fold end env_info.path
12
14
travis_fold start env_info.home
13
15
echo Home: $HOME
14
- ls ~ -la
16
+ ls -la ~
15
17
echo
16
18
travis_fold end env_info.home
17
19
travis_fold start env_info.pwd
Original file line number Diff line number Diff line change 3
3
if [[ -z " $NGIO_ENV_DEFS " ]]; then
4
4
export ANSI_YELLOW=" \033[33;1m"
5
5
export ANSI_RESET=" \033[0m"
6
- echo -e " ${ANSI_YELLOW} Setting environment variables from scripts/env.sh${ANSI_RESET} "
6
+ echo -e " ${ANSI_YELLOW} Setting environment variables from scripts/env-set .sh${ANSI_RESET} "
7
7
8
8
export NGIO_ENV_DEFS=1
9
9
@@ -12,7 +12,7 @@ if [[ -z "$NGIO_ENV_DEFS" ]]; then
12
12
13
13
if [ ! $( type -t travis_fold) ]; then
14
14
# In case this is being run locally. Turn travis_fold into a noop.
15
- travis_fold () { return ; }
15
+ travis_fold () { true ; }
16
16
# Alternative definition:
17
17
# travis_fold () { echo -en "travis_fold:${1}:${2}"; }
18
18
fi
You can’t perform that action at this time.
0 commit comments