From 0d98b229124425ebda55f3039c7193fc962a15f6 Mon Sep 17 00:00:00 2001 From: Jeff Cross Date: Tue, 4 Oct 2016 22:00:30 -0700 Subject: [PATCH] fix travis and exclude app shell from ngc --- .travis.yml | 6 +++--- .../angular-cli/blueprints/ng2/files/__path__/tsconfig.json | 5 ++++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 69c5fb41b006..61571864dbb3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -35,6 +35,9 @@ matrix: - node_js: "6" os: linux env: NODE_SCRIPT=tests/e2e_runner.js + - node_js: "6" + os: linux + env: TARGET=mobile NODE_SCRIPT="tests/e2e_runner.js" - node_js: "4" os: osx env: SCRIPT=test @@ -47,9 +50,6 @@ matrix: - node_js: "6" os: osx env: NODE_SCRIPT=tests/e2e_runner.js - - node_js: "6" - os: osx - env: TARGET=mobile NODE_SCRIPT="tests/e2e_runner.js" - node_js: "6" os: osx env: TARGET=mobile NODE_SCRIPT="tests/e2e_runner.js --nightly" diff --git a/packages/angular-cli/blueprints/ng2/files/__path__/tsconfig.json b/packages/angular-cli/blueprints/ng2/files/__path__/tsconfig.json index d69d63ccf7ce..e6574acd5513 100644 --- a/packages/angular-cli/blueprints/ng2/files/__path__/tsconfig.json +++ b/packages/angular-cli/blueprints/ng2/files/__path__/tsconfig.json @@ -13,5 +13,8 @@ "typeRoots": [ "../node_modules/@types" ] - } + }<% if (isMobile) { %>, + "exclude": [ + "main-app-shell.ts" + ]<% } %> }