File tree Expand file tree Collapse file tree 1 file changed +24
-11
lines changed
Expand file tree Collapse file tree 1 file changed +24
-11
lines changed Original file line number Diff line number Diff line change @@ -32,20 +32,33 @@ before_install:
3232
3333install :
3434 - |
35- if [ "$LPN_COMMAND" != "license" ] && [ "$LPN_COMMAND" != "tags" ] && [ "$LPN_COMMAND" != "version" ]; then
35+ if [ "$LPN_COMMAND" != ""] && ["$LPN_COMMAND" != " license" ] && [ "$LPN_COMMAND" != "tags" ] && [ "$LPN_COMMAND" != "version" ]; then
3636 ./scripts/pull-images.sh
3737 fi
3838 - go build
3939
4040script :
41- - ./scripts/coverage.sh
42- - mkdir bin && mv ./lpn bin/lpn && cucumber features/$LPN_COMMAND.feature
43-
44- after_success :
45- - bash <(curl -s https://codecov.io/bash)
41+ - |
42+ if [ "$LPN_COMMAND" != "" ]; then
43+ mkdir bin && mv ./lpn bin/lpn && cucumber features/$LPN_COMMAND.feature
44+ fi
4645
47- deploy :
48- provider : script
49- script : cd $TRAVIS_BUILD_DIR/.equinox && ./release.sh
50- on :
51- branch : master
46+ jobs :
47+ include :
48+ - stage : " Deploy to WeDeploy"
49+ name : " Deploy to WeDeploy"
50+ env :
51+ - LPN_COMMAND=
52+ script :
53+ - ./scripts/coverage.sh
54+ after_success :
55+ - bash <(curl -s https://codecov.io/bash)
56+ deploy :
57+ - provider : script
58+ script : ./scripts/build.sh && ./scripts/publish.sh
59+ on :
60+ branch : master
61+ - provider : script
62+ script : ./scripts/build.sh && ./scripts/publish.sh
63+ on :
64+ branch : develop
You can’t perform that action at this time.
0 commit comments