mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
34 lines
713 B
YAML
34 lines
713 B
YAML
language: node_js
|
|
dist: trusty
|
|
sudo: false
|
|
node_js:
|
|
- "5"
|
|
|
|
before_install:
|
|
- "export DISPLAY=:99.0"
|
|
- "sh -e /etc/init.d/xvfb start"
|
|
|
|
env:
|
|
matrix:
|
|
- MODULE=ng2-components
|
|
- MODULE=ng2-demo-shell
|
|
|
|
script:
|
|
- if ([ "$MODULE" == "ng2-components" ]); then
|
|
(./scripts/npm-build-all.sh -t;);
|
|
fi
|
|
- if ([ "$MODULE" == "ng2-demo-shell" ]); then
|
|
(cd demo-shell-ng2 && npm install && npm run test || exit 1;);
|
|
fi
|
|
|
|
# Send coverage data to Coveralls
|
|
after_success:
|
|
bash <(curl -s https://codecov.io/bash) -X gcov
|
|
|
|
cache:
|
|
directories:
|
|
- ./node_modules/material-design-lite
|
|
- ./node_modules/material-design-icons
|
|
- demo-shell-ng2/node_modules
|
|
- ng2-components/node_modules
|