13aa6b1498
closes #1910 - Installs Dart SDK - Installs ng2/dart sources from the pub package site. - Re-enables doc build on Travis - install Dartium browser for eventual testing. - allow TMP and PKG to be set by developer before calling, e.g., install-dart-sdk.sh. - removes `npm install -g gulp --no-optional` has been removed since it does not appear to be needed. - Implements most of #1907.
48 lines
1.4 KiB
Bash
Executable File
48 lines
1.4 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e -o pipefail
|
|
|
|
travis_fold start env_info
|
|
echo ENVIRONMENT INFO
|
|
travis_fold start env_info.path
|
|
echo Path:
|
|
echo $PATH | tr : '\n'
|
|
echo
|
|
travis_fold end env_info.path
|
|
travis_fold start env_info.home
|
|
echo Home: $HOME
|
|
ls ~ -la
|
|
echo
|
|
travis_fold end env_info.home
|
|
travis_fold start env_info.pwd
|
|
echo Pwd: `pwd`
|
|
ls -la
|
|
echo
|
|
travis_fold end env_info.pwd
|
|
if [[ 0 ]]; then
|
|
# Not needed anymore, but keeping it at least for the first commit for archival purposes.
|
|
travis_fold start env_info.bash_profile
|
|
echo Bash profile ------------------------------------------------------------
|
|
cat ~/.bash_profile
|
|
travis_fold end env_info.bash_profile
|
|
travis_fold start env_info.bashrc
|
|
echo Bashrc ------------------------------------------------------------------
|
|
cat ~/.bashrc
|
|
echo -------------------------------------------------------------------------
|
|
travis_fold end env_info.bashrc
|
|
travis_fold start env_info.build
|
|
echo build.sh ----------------------------------------------------------------
|
|
cat ~/build.sh
|
|
echo -------------------------------------------------------------------------
|
|
travis_fold end env_info.build
|
|
fi
|
|
travis_fold end env_info
|
|
|
|
echo ENVIRONMENT CONFIG CHECK:
|
|
if [[ -z "$NGIO_ENV_DEFS" ]]; then
|
|
echo Environment variables are not being set. Aborting.
|
|
exit 1;
|
|
else
|
|
echo Environment variables successfully set.
|
|
fi
|