From 92ec8b4b32c4a6e926d5c72b408249ed86700970 Mon Sep 17 00:00:00 2001 From: mauriziovitale84 Date: Thu, 27 Oct 2016 17:52:14 +0100 Subject: [PATCH] Travis remove the hardcoded create link --- .travis.yml | 16 +--------------- .../ng2-activiti-processlist/package.json | 2 +- .../ng2-activiti-tasklist/package.json | 2 +- 3 files changed, 3 insertions(+), 17 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7a6c4c312a..f5507a1646 100644 --- a/.travis.yml +++ b/.travis.yml @@ -36,24 +36,10 @@ env: - MODULE=ng2-alfresco-userinfo before_script: - - if ([ "$MODULE" != "ng2-alfresco-core" ]); then - (cd ng2-components/ng2-alfresco-core; npm install; npm link); - fi - - if ([ "$MODULE" == "ng2-alfresco-documentlist" ] || [ "$MODULE" == "ng2-alfresco-webscript" ] || [ "$MODULE" == "ng2-activiti-processlist" ] || [ "$MODULE" == "ng2-activiti-tasklist" ]); then - (cd ng2-components/ng2-alfresco-datatable; npm link ng2-alfresco-core; npm install; npm link); - fi - - if ([ "$MODULE" == "ng2-activiti-tasklist" ] || [ "$MODULE" == "ng2-activiti-processlist" ]); then - (cd ng2-components/ng2-activiti-form; npm link ng2-alfresco-core; npm install; npm link); - fi - - if ([ "$MODULE" == "ng2-activiti-processlist" ]); then - (cd ng2-components/ng2-activiti-tasklist; npm link ng2-alfresco-core; npm link ng2-alfresco-datatable; npm link ng2-activiti-form; npm install; npm link); - fi - - if ([ "$MODULE" == "ng2-activiti-analitycs" ]); then - (cd ng2-components/ng2-activiti-diagrams; npm link ng2-alfresco-core; npm install; npm link); - fi - cd ng2-components/$MODULE; - npm run travis - npm install; + - npm link; - ls -ltrh ./node_modules/ script: npm run test # Send coverage data to Coveralls diff --git a/ng2-components/ng2-activiti-processlist/package.json b/ng2-components/ng2-activiti-processlist/package.json index 421fc60e3a..1c60bbc2a5 100644 --- a/ng2-components/ng2-activiti-processlist/package.json +++ b/ng2-components/ng2-activiti-processlist/package.json @@ -19,7 +19,7 @@ "posttest": "node_modules/.bin/remap-istanbul -i coverage/report/coverage-final.json -o coverage/report -t html", "coverage": "npm run test && wsrv -o -p 9875 ./coverage/report", "prepublish": "npm run build", - "travis": "npm link ng2-alfresco-core ng2-alfresco-datatable" + "travis": "npm link ng2-alfresco-core ng2-alfresco-datatable ng2-activiti-form" }, "main": "./dist/index.js", "typings": "./dist/index.d.ts", diff --git a/ng2-components/ng2-activiti-tasklist/package.json b/ng2-components/ng2-activiti-tasklist/package.json index 626272aff8..87fbf34d15 100644 --- a/ng2-components/ng2-activiti-tasklist/package.json +++ b/ng2-components/ng2-activiti-tasklist/package.json @@ -19,7 +19,7 @@ "posttest": "remap-istanbul -i coverage/report/coverage-final.json -o coverage/report -t html && remap-istanbul -i coverage/report/coverage-final.json -o coverage/report/coverage-final.json", "coverage": "npm run test && wsrv -o -p 9875 ./coverage/report", "prepublish": "npm run build", - "travis": "npm link ng2-alfresco-core ng2-alfresco-datatable" + "travis": "npm link ng2-alfresco-core ng2-alfresco-datatable ng2-activiti-form" }, "main": "./dist/index.js", "typings": "./dist/index.d.ts",