Fix a few minor problems with Travis install & build scripts. Other changes allow `before-install.sh` to be run locally.
		
			
				
	
	
		
			13 lines
		
	
	
		
			239 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			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
 |