mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
* fix sourcemap fix relative path and pre publish build change travis wait all test run build and remove unused cpx * global test task modify publish script to accept options * appveyor run * different approach single test run * make it work the analytics test modify start demo shell script to use a different registry * sourcemap demo shell working * update readme and add install after any clean add registry option in start.sh script add develop and normal mode in demo shell add -d option in start.sh to point to the local components add -c option in build script to point to the local components
34 lines
723 B
YAML
34 lines
723 B
YAML
language: node_js
|
|
dist: trusty
|
|
sudo: false
|
|
node_js:
|
|
- "6"
|
|
|
|
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 || exit 1;);
|
|
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
|