mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
25 lines
618 B
YAML
25 lines
618 B
YAML
# Test against this version of Node.js
|
|
branches:
|
|
only:
|
|
- master
|
|
- development
|
|
- dev-build-test
|
|
|
|
environment:
|
|
nodejs_version: "5"
|
|
|
|
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 (./scripts/npm-build-all.sh -t)
|
|
- IF %COMPONENT_NAME% EQU ng2-demo-shell (cd demo-shell-ng2 && npm install && npm run test || exit 1)
|
|
|
|
# Don't actually build.
|
|
build: off
|