File tree Expand file tree Collapse file tree 2 files changed +17
-10
lines changed Expand file tree Collapse file tree 2 files changed +17
-10
lines changed Original file line number Diff line number Diff line change @@ -61,5 +61,11 @@ deploy:
6161 cleanup : false
6262 on :
6363 branch : master
64- condition : [ $TRAVIS_EVENT_TYPE = api && $allow_publish_npm = true && $allow_publish_write = true ]
64+ condition : [ $TRAVIS_EVENT_TYPE = api && $allow_publish_npm = true && $allow_publish_write = true ]
65+ - provider : script
66+ script : $WORKSPACE/scripts/publish-packages.sh -verify
67+ cleanup : false
68+ on :
69+ branch : master
70+ condition : [ $TRAVIS_EVENT_TYPE = api && $allow_publish_npm = true && $allow_publish_verify = true ]
6571
Original file line number Diff line number Diff line change @@ -51,16 +51,17 @@ while [[ $# -gt 0 ]]; do
5151 # olp-sdk-dataservice-write publish
5252 cd @here/olp-sdk-dataservice-write && npm install && npm publish && cd -
5353 ;;
54+ -verify)
55+ # verify all published
56+ echo ' Publish verification...'
57+ yarn
58+ yarn bootstrap
59+ npm run --silent build
60+ npm run --silent http-server-testing-bundles & npm run --silent test-published-bundles
61+ echo ' Publish verification done! '
62+ ;;
5463 esac
5564 # Shift after checking all the cases to get the next option
5665 shift
5766done
58- echo ' Publish done! To be verified in 1m. ...'
59- sleep 60
60-
61- echo ' Publish verification...'
62- yarn
63- yarn bootstrap
64- npm run --silent build
65- npm run --silent http-server-testing-bundles & npm run --silent test-published-bundles
66- echo ' Publish verification done! '
67+ echo ' Publish done!'
You can’t perform that action at this time.
0 commit comments