mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
installing dependencies for travis
This commit is contained in:
+8
-3
@@ -1,6 +1,9 @@
|
||||
language: node_js
|
||||
sudo: false
|
||||
|
||||
before_install:
|
||||
- export CHROME_BIN=chromium-browser
|
||||
- export DISPLAY=:99.0
|
||||
- sh -e /etc/init.d/xvfb start
|
||||
env:
|
||||
global:
|
||||
- DEV_REGISTRY=http://devproducts.alfresco.me:4873
|
||||
@@ -14,7 +17,9 @@ env:
|
||||
|
||||
node_js:
|
||||
- v5
|
||||
|
||||
|
||||
before_script: cd ./ng2-components/$MODULE; npm install --registry $DEV_REGISTRY
|
||||
script: cd ./ng2-components/$MODULE; npm run coverage
|
||||
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"
|
||||
#after_script: "cat ./ng2-components/$MODULE/coverage/lcov.info | ./ng2-components/$MODULE/node_modules/coveralls/bin/coveralls.js"
|
||||
|
||||
Reference in New Issue
Block a user