mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
* change prepublish to build only add .npmrc in the gitignore and npmignore clean .npmrc during the clean task change registry during publish with npmrc file add rimraf install in npm publish * add option to link an alfresco-js-api from github * npm build on develop branch will use the alfresco-js-api from develop * modify script after review add -gitjsapi to starts.sh to change jsapi pointing add -vjsapi to starts.sh to change jsapi pointing * start dist demo shell script option
30 lines
814 B
YAML
30 lines
814 B
YAML
# Test against this version of Node.js
|
|
branches:
|
|
only:
|
|
- master
|
|
- development
|
|
- dev-build-test
|
|
|
|
environment:
|
|
nodejs_version: "6"
|
|
|
|
matrix:
|
|
- COMPONENT_NAME: ng2-components
|
|
- 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 (
|
|
if %APPVEYOR_REPO_BRANCH EQU master
|
|
(cd scripts && sh npm-build-all.sh -t || exit 1)
|
|
else
|
|
(cd scripts && sh npm-build-all.sh -t -gitjsapi development|| exit 1)
|
|
)
|
|
- if %COMPONENT_NAME% EQU ng2-demo-shell (cd demo-shell-ng2 && npm install && npm run test || exit 1)
|
|
|
|
# Don't actually build.
|
|
build: off
|