From 2f5688a65397fa696a49763f7c113e47c756c52b Mon Sep 17 00:00:00 2001 From: FinnStutzenstein Date: Wed, 17 Jul 2019 14:04:37 +0200 Subject: [PATCH] Split client production builds in travis (closes #4849) --- .travis.yml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index dc9afcb73..07ff0535d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -132,7 +132,7 @@ matrix: - ng build - language: node_js - name: "Client: Production Build" + name: "Client: Production Build (ES5)" node_js: - "10.9" cache: @@ -142,6 +142,24 @@ matrix: - npm install -g @angular/cli@~8.0.6 - ng --version - cd client + - sed -i '/\"target\"/c\\"target\":\"es5\",' tsconfig.json + install: + - npm install + script: + - npm run ng-high-memory -- build --prod --aot + + - language: node_js + name: "Client: Production Build (ES2015)" + node_js: + - "10.9" + cache: + directories: + - node_modules + before_install: + - npm install -g @angular/cli@~8.0.6 + - ng --version + - cd client + - echo "Firefox ESR" > browserslist install: - npm install script: