Merge pull request #4862 from FinnStutzenstein/splitClientBuilds

Split client production builds in travis (closes #4849)
This commit is contained in:
Finn Stutzenstein 2019-07-19 12:42:49 +02:00 committed by GitHub
commit 8cb9892426
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: