mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
* [ADF-3538] start creating new folder for cloud components * [ADF-3538] added new package to the script and the builds * [ADF-3538] added some more changes to scripts * [ADF-3538] - starting the new package * change index * fix package * Fix module structure with Cli * add basic structure * Create a library with angular cli * Add a cloud component as example * Skip the scss style * add the import scss * remove useless codes * Add i18n example * remove useless code * Simplify the hello component Fix the wrong path * Fix process service cloud path * Download process-service-cloud from the CS
64 lines
2.3 KiB
YAML
64 lines
2.3 KiB
YAML
# Test against this version of Node.js
|
|
branches:
|
|
only:
|
|
- master
|
|
- development
|
|
- dev-build-test
|
|
|
|
environment:
|
|
nodejs_version: "8"
|
|
|
|
matrix:
|
|
- COMPONENT_NAME: process-service
|
|
- COMPONENT_NAME: content-service
|
|
- COMPONENT_NAME: core
|
|
- COMPONENT_NAME: insights
|
|
# - COMPONENT_NAME: ng2-demo-shell
|
|
|
|
# Install scripts. (runs after repo cloning)
|
|
install:
|
|
# Get the latest stable version of Node.js or io.js
|
|
- ps: Install-Product node $env:nodejs_version
|
|
# install module
|
|
- if %COMPONENT_NAME% EQU process-service (
|
|
if %APPVEYOR_REPO_BRANCH EQU master
|
|
(cd scripts && sh npm-build-all.sh -t "process-services" || exit 1)
|
|
else
|
|
(cd scripts && sh npm-build-all.sh -t "process-services" -vjsapi alpha|| exit 1)
|
|
)
|
|
- if %COMPONENT_NAME% EQU content-service (
|
|
if %APPVEYOR_REPO_BRANCH EQU master
|
|
(cd scripts && sh npm-build-all.sh -t "content-services" || exit 1)
|
|
else
|
|
(cd scripts && sh npm-build-all.sh -t "content-services" -vjsapi alpha|| exit 1)
|
|
)
|
|
- if %COMPONENT_NAME% EQU insights (
|
|
if %APPVEYOR_REPO_BRANCH EQU master
|
|
(cd scripts && sh npm-build-all.sh -t "insights" || exit 1)
|
|
else
|
|
(cd scripts && sh npm-build-all.sh -t "insights" -vjsapi alpha|| exit 1)
|
|
)
|
|
- if %COMPONENT_NAME% EQU core (
|
|
if %APPVEYOR_REPO_BRANCH EQU master
|
|
(cd scripts && sh npm-build-all.sh -t "core" || exit 1)
|
|
else
|
|
(cd scripts && sh npm-build-all.sh -t "core" -vjsapi alpha|| exit 1)
|
|
)
|
|
- if %COMPONENT_NAME% EQU process-service-cloud (
|
|
if %APPVEYOR_REPO_BRANCH EQU master
|
|
(cd scripts && sh npm-build-all.sh -t "process-services-cloud" || exit 1)
|
|
else
|
|
(cd scripts && sh npm-build-all.sh -t "process-services-cloud" -vjsapi alpha|| exit 1)
|
|
)
|
|
# - if %COMPONENT_NAME% EQU ng2-demo-shell (
|
|
# if %APPVEYOR_REPO_BRANCH EQU master
|
|
# (cd scripts && sh start.sh -t -ss || exit 1)
|
|
# else
|
|
# (cd scripts && sh start.sh -dev -t -ss -vjsapi alpha || exit 1)
|
|
# )
|
|
|
|
# Don't actually build.
|
|
build: off
|
|
matrix:
|
|
fast_finish: true
|