mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Use the build dist without stats and move the docker step on top
This commit is contained in:
@@ -25,12 +25,12 @@ stages:
|
||||
if: type = pull_request OR type = api
|
||||
- name: Lint & Build Dist & Release
|
||||
if: (type = push OR type = cron) AND tag IS blank
|
||||
- name: Update Rancher
|
||||
if: (type = push AND tag IS blank) OR type = api
|
||||
- name: Check bundle
|
||||
if: type = push AND tag IS blank
|
||||
- name: Unit test
|
||||
if: (type != cron AND tag IS blank) OR type = api
|
||||
- name: Update Rancher
|
||||
if: (type = push AND tag IS blank) OR type = api
|
||||
- name: e2e Test
|
||||
if: (type != cron AND tag IS blank) OR type = api
|
||||
- name: Update Children Projects
|
||||
@@ -76,7 +76,7 @@ jobs:
|
||||
script: ./scripts/travis/unit-test/content.sh
|
||||
- stage: Unit test
|
||||
name: Unit test core extension demo
|
||||
script: ./scripts/travis/unit-test/core-extension-demo.sh
|
||||
script: ./scripts/travis/unit-test/core-extension.sh
|
||||
- stage: Unit test
|
||||
name: Unit test process process-cloud insights
|
||||
script: ./scripts/travis/unit-test/process.sh
|
||||
|
@@ -40,7 +40,8 @@
|
||||
"start:dist": "ng lint dist && npm run validate-config && ng serve dist --prod --open",
|
||||
"build": "npm run validate-config && ng build dist",
|
||||
"build:dev": "npm run validate-config && npm run style:dev && ng build dev",
|
||||
"build:dist": "npm run validate-config && node --max-old-space-size=12000 node_modules/@angular/cli/bin/ng build dist --prod --stats-json ",
|
||||
"build:dist": "npm run validate-config && node --max-old-space-size=12000 node_modules/@angular/cli/bin/ng build dist --prod",
|
||||
"build:dist:stats": "npm run validate-config && node --max-old-space-size=12000 node_modules/@angular/cli/bin/ng build dist --prod --stats-json",
|
||||
"build:dist:e2e": "npm run validate-config && node --max-old-space-size=12000 node_modules/@angular/cli/bin/ng build dist --prod --configuration=e2e --stats-json ",
|
||||
"style:dev": "npm run webpack -- --config ./lib/config/webpack.style.js --progress --profile --bail",
|
||||
"test": "npm run validate-config && ng test dev --watch=false",
|
||||
|
@@ -20,12 +20,4 @@ then
|
||||
ng test extensions --watch=false || exit 1;
|
||||
fi;
|
||||
|
||||
echo "================== demo unit ==================="
|
||||
|
||||
if ([ "$TRAVIS_BRANCH" = "master" ]); then
|
||||
(./scripts/start.sh -t -ss -si || exit 1;);
|
||||
else
|
||||
(./scripts/start.sh -dev -t -ss -si || exit 1;);
|
||||
fi;
|
||||
|
||||
bash <(curl -s https://codecov.io/bash) -X gcov
|
Reference in New Issue
Block a user