mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-19 17:14:57 +00:00
travis file
This commit is contained in:
parent
1553f721ef
commit
7f1ce86f5c
39
.travis.yml
Normal file
39
.travis.yml
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
language: node_js
|
||||||
|
dist: trusty
|
||||||
|
sudo: required
|
||||||
|
|
||||||
|
node_js:
|
||||||
|
- "5"
|
||||||
|
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
sources:
|
||||||
|
- google-chrome
|
||||||
|
packages:
|
||||||
|
- google-chrome-stable
|
||||||
|
|
||||||
|
|
||||||
|
before_install:
|
||||||
|
- export CHROME_BIN=/usr/bin/google-chrome
|
||||||
|
- export DISPLAY=:99.0
|
||||||
|
- sh -e /etc/init.d/xvfb start
|
||||||
|
|
||||||
|
env:
|
||||||
|
global:
|
||||||
|
- DEV_REGISTRY=http://devproducts.alfresco.me:8081/
|
||||||
|
matrix:
|
||||||
|
# - MODULE=ng2-alfresco-core
|
||||||
|
- MODULE=ng2-alfresco-datatable
|
||||||
|
- MODULE=ng2-alfresco-documentlist
|
||||||
|
- MODULE=ng2-alfresco-login
|
||||||
|
- MODULE=ng2-alfresco-search
|
||||||
|
- MODULE=ng2-alfresco-upload
|
||||||
|
|
||||||
|
before_script:
|
||||||
|
- npm set proxy $DEV_REGISTRY
|
||||||
|
- npm config set https-proxy $DEV_REGISTRY
|
||||||
|
- cd ./ng2-components/$MODULE; npm install --registry $DEV_REGISTRY
|
||||||
|
- ls -ltrh ./node_modules/
|
||||||
|
script: npm run test
|
||||||
|
# Send coverage data to Coveralls
|
||||||
|
#after_script: "cat ./ng2-components/$MODULE/coverage/lcov.info | ./ng2-components/$MODULE/node_modules/coveralls/bin/coveralls.js"
|
Loading…
x
Reference in New Issue
Block a user