| 
									
										
										
										
											2016-04-28 17:50:03 -07:00
										 |  |  | #!/usr/bin/env bash
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | set -ex -o pipefail | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | echo 'travis_fold:start:BUILD' | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # Setup environment | 
					
						
							|  |  |  | cd `dirname $0` | 
					
						
							|  |  |  | source ./env.sh | 
					
						
							|  |  |  | cd ../.. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-06-08 16:06:23 -07:00
										 |  |  | $(npm bin)/tsc -v | 
					
						
							| 
									
										
										
										
											2016-05-27 16:22:16 -07:00
										 |  |  | $(npm bin)/tsc -p tools | 
					
						
							|  |  |  | cp tools/@angular/tsc-wrapped/package.json dist/tools/@angular/tsc-wrapped | 
					
						
							| 
									
										
										
										
											2016-09-23 14:04:29 -07:00
										 |  |  | node --max-old-space-size=3000 dist/tools/@angular/tsc-wrapped/src/main -p modules | 
					
						
							| 
									
										
										
										
											2016-09-08 15:01:22 -07:00
										 |  |  | node dist/tools/@angular/tsc-wrapped/src/main -p modules/@angular/core/tsconfig-build.json | 
					
						
							|  |  |  | node dist/tools/@angular/tsc-wrapped/src/main -p modules/@angular/common/tsconfig-build.json | 
					
						
							| 
									
										
										
										
											2016-11-11 21:46:53 +03:00
										 |  |  | node dist/tools/@angular/tsc-wrapped/src/main -p modules/@angular/platform-browser/tsconfig-build.json | 
					
						
							| 
									
										
										
										
											2016-09-08 15:01:22 -07:00
										 |  |  | node dist/tools/@angular/tsc-wrapped/src/main -p modules/@angular/router/tsconfig-build.json | 
					
						
							| 
									
										
										
										
											2016-11-22 09:10:23 -08:00
										 |  |  | node dist/tools/@angular/tsc-wrapped/src/main -p modules/@angular/forms/tsconfig-build.json | 
					
						
							| 
									
										
										
										
											2016-04-28 17:50:03 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-02-09 19:08:16 +02:00
										 |  |  | if [[ ${CI_MODE} == "e2e" ]]; then | 
					
						
							|  |  |  |   echo 'travis_fold:start:BUILD.integration' | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   # Build integration | 
					
						
							|  |  |  |   cd "`dirname $0`/../../integration" | 
					
						
							|  |  |  |   ./build_rxjs_es6.sh | 
					
						
							|  |  |  |   cd - | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   echo 'travis_fold:end:BUILD.integration' | 
					
						
							|  |  |  | fi | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-01-25 19:39:01 +02:00
										 |  |  | if [[ ${CI_MODE} == "aio" ]]; then | 
					
						
							|  |  |  |   echo 'travis_fold:start:BUILD.aio' | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   # Build angular.io | 
					
						
							| 
									
										
										
										
											2017-02-09 19:58:36 +00:00
										 |  |  |   cd "`dirname $0`/../../aio" | 
					
						
							| 
									
										
										
										
											2017-01-25 19:39:01 +02:00
										 |  |  |   yarn run build | 
					
						
							|  |  |  |   cd - | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   echo 'travis_fold:end:BUILD.aio' | 
					
						
							|  |  |  | fi | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-04-28 17:50:03 -07:00
										 |  |  | echo 'travis_fold:end:BUILD' |