mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
Travis config updates
This commit is contained in:
@@ -17,7 +17,8 @@ before_install:
|
||||
- export CHROME_BIN=/usr/bin/google-chrome
|
||||
- export DISPLAY=:99.0
|
||||
- sh -e /etc/init.d/xvfb start
|
||||
- (cd ng2-components/ng2-alfresco-core; npm version patch; sed -i "s/0\\.0\\.0-PLACEHOLDER/^0.1.0/g" package.json; npm install; npm link)
|
||||
- (cd ng2-components/ng2-alfresco-core; npm install; npm link)
|
||||
- (cd ng2-components/ng2-alfresco-datatable; npm install; npm link)
|
||||
|
||||
env:
|
||||
matrix:
|
||||
@@ -30,7 +31,7 @@ env:
|
||||
- MODULE=ng2-alfresco-viewer
|
||||
|
||||
before_script:
|
||||
- cd ng2-components/$MODULE; npm version patch; sed -i "s/0\\.0\\.0-PLACEHOLDER/^0.1.0/g" package.json; npm install; npm link ng2-alfresco-core; npm run travis
|
||||
- cd ng2-components/$MODULE; npm install; npm link ng2-alfresco-core; npm run travis
|
||||
- ls -ltrh ./node_modules/
|
||||
script: npm run test
|
||||
# Send coverage data to Coveralls
|
||||
|
@@ -28,7 +28,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"
|
||||
"travis": "npm link ng2-alfresco-core ng2-alfresco-datatable"
|
||||
},
|
||||
"main": "./dist/index.js",
|
||||
"typings": "./dist/index.d.ts",
|
||||
|
Reference in New Issue
Block a user