Travis config updates

This commit is contained in:
Denys Vuika
2016-07-06 13:51:19 +01:00
parent a1df4af65e
commit 97d7a588a0
2 changed files with 4 additions and 3 deletions

View File

@@ -17,7 +17,8 @@ before_install:
- export CHROME_BIN=/usr/bin/google-chrome - export CHROME_BIN=/usr/bin/google-chrome
- export DISPLAY=:99.0 - export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start - 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: env:
matrix: matrix:
@@ -30,7 +31,7 @@ env:
- MODULE=ng2-alfresco-viewer - MODULE=ng2-alfresco-viewer
before_script: 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/ - ls -ltrh ./node_modules/
script: npm run test script: npm run test
# Send coverage data to Coveralls # Send coverage data to Coveralls

View File

@@ -28,7 +28,7 @@
"posttest": "node_modules/.bin/remap-istanbul -i coverage/report/coverage-final.json -o coverage/report -t html", "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", "coverage": "npm run test && wsrv -o -p 9875 ./coverage/report",
"prepublish": "npm run build", "prepublish": "npm run build",
"travis": "npm link ng2-alfresco-core" "travis": "npm link ng2-alfresco-core ng2-alfresco-datatable"
}, },
"main": "./dist/index.js", "main": "./dist/index.js",
"typings": "./dist/index.d.ts", "typings": "./dist/index.d.ts",