mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
42 lines
1.3 KiB
YAML
42 lines
1.3 KiB
YAML
# Test against this version of Node.js
|
|
branches:
|
|
only:
|
|
- master
|
|
- development
|
|
- dev-build-test
|
|
|
|
environment:
|
|
nodejs_version: "8"
|
|
|
|
matrix:
|
|
- COMPONENT_NAME: ng2-components-activiti
|
|
- COMPONENT_NAME: ng2-components-alfresco
|
|
# - 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 ng2-components-activiti (
|
|
if %APPVEYOR_REPO_BRANCH EQU master
|
|
(cd scripts && sh npm-build-all.sh -t "ng2-activiti*" || exit 1)
|
|
else
|
|
(cd scripts && sh npm-build-all.sh -t "ng2-activiti*" -vjsapi alpha|| exit 1)
|
|
)
|
|
- 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*" -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
|