mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-10-01 14:41:32 +00:00
appveyor split
This commit is contained in:
17
appveyor.yml
17
appveyor.yml
@@ -9,7 +9,8 @@ environment:
|
|||||||
nodejs_version: "6"
|
nodejs_version: "6"
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
- COMPONENT_NAME: ng2-components
|
- COMPONENT_NAME: ng2-components-activiti
|
||||||
|
- COMPONENT_NAME: ng2-components-alfresco
|
||||||
- COMPONENT_NAME: ng2-demo-shell
|
- COMPONENT_NAME: ng2-demo-shell
|
||||||
|
|
||||||
# Install scripts. (runs after repo cloning)
|
# Install scripts. (runs after repo cloning)
|
||||||
@@ -17,13 +18,19 @@ install:
|
|||||||
# Get the latest stable version of Node.js or io.js
|
# Get the latest stable version of Node.js or io.js
|
||||||
- ps: Install-Product node $env:nodejs_version
|
- ps: Install-Product node $env:nodejs_version
|
||||||
# install module
|
# install module
|
||||||
- if %COMPONENT_NAME% EQU ng2-components (
|
- if %COMPONENT_NAME% EQU ng2-components-activiti (
|
||||||
if %APPVEYOR_REPO_BRANCH EQU master
|
if %APPVEYOR_REPO_BRANCH EQU master
|
||||||
(cd scripts && sh npm-build-all.sh -t || exit 1)
|
(cd scripts && sh npm-build-all.sh -t "ng2-activiti*" || exit 1)
|
||||||
else
|
else
|
||||||
(cd scripts && sh npm-build-all.sh -t -gitjsapi development|| exit 1)
|
(cd scripts && sh npm-build-all.sh -t "ng2-activiti*" -gitjsapi development|| exit 1)
|
||||||
)
|
)
|
||||||
- if %COMPONENT_NAME% EQU g2-demo-shell (
|
- if %COMPONENT_NAME% EQU ng2-components-alfresco (
|
||||||
|
if %APPVEYOR_REPO_BRANCH EQU master
|
||||||
|
(cd scripts && sh npm-build-all.sh -t "ng2-alfresco*" || exit 1)
|
||||||
|
else
|
||||||
|
(cd scripts && sh npm-build-all.sh -t "ng2-alfresco*" -gitjsapi development|| exit 1)
|
||||||
|
)
|
||||||
|
- if %COMPONENT_NAME% EQU ng2-demo-shell (
|
||||||
if %APPVEYOR_REPO_BRANCH EQU master
|
if %APPVEYOR_REPO_BRANCH EQU master
|
||||||
(cd scripts && sh start.sh -t -ss || exit 1)
|
(cd scripts && sh start.sh -t -ss || exit 1)
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user