adding private registry in travis.yml

This commit is contained in:
Enzo Rivello
2016-06-02 10:58:55 +01:00
parent 0cf22d0762
commit f814942d18
+3 -1
View File
@@ -1,5 +1,7 @@
language: node_js
sudo: false
global:
- DEV_REGISTRY=http://devproducts.alfresco.me:4873
env:
- MODULE=ng2-alfresco-core
- MODULE=ng2-alfresco-datatable
@@ -9,7 +11,7 @@ env:
- MODULE=ng2-alfresco-upload
node_js:
- v5
before_script: cd ./ng2-components/$MODULE; npm install
before_script: cd ./ng2-components/$MODULE; npm install --registry $DEV_REGISTRY
script: cd ./ng2-components/$MODULE; npm run coverage
# Send coverage data to Coveralls
after_script: "cat ./ng2-components/$MODULE/coverage/lcov.info | ./ng2-components/$MODULE/node_modules/coveralls/bin/coveralls.js"