File tree Expand file tree Collapse file tree 1 file changed +20
-21
lines changed
Expand file tree Collapse file tree 1 file changed +20
-21
lines changed Original file line number Diff line number Diff line change 2525 global :
2626 - GIT_EMAIL=ci@mail
2727 - GIT_NAME=ci
28+ - CHANNEL=dev
29+ - PACKAGE_NAME=gitsync3-plugins
30+ matrix :
31+ - OSCRIPT_VERSION=1_0_20
32+ - OSCRIPT_VERSION=night-build
33+ matrix :
34+ allow_failures :
35+ - env : OSCRIPT_VERSION=night-build
36+
37+ script :
38+ - docker version
39+ - docker run -it -e OSCRIPT_VERSION=$OSCRIPT_VERSION -e GIT_EMAIL=$GIT_EMAIL -e GIT_NAME=$GIT_NAME -v $(pwd):/work_dir harmit/ci-image sh -c 'cd /work_dir; sh /work_dir/travis-ci.sh; exit' | tee /tmp/test.log
40+ - grep 'Результат прогона тестов <Да>' /tmp/test.log
41+ after_success :
42+ # - bash <(curl -s https://codecov.io/bash)
43+ - ./sonar-qube.sh
44+
2845cache :
2946 directories :
3047 - ' $HOME/.m2/repository'
3148 - ' $HOME/.sonar/cache'
3249 - ' $HOME/docker'
3350jobs :
3451 include :
35- - stage : Тестирование
36- script :
37- - docker version
38- - docker run -it -v $(pwd):/work_dir harmit/ci-image sh -c 'cd /work_dir; sh /work_dir/travis-ci.sh; exit' | tee /tmp/test.log
39- - grep -qv 'Тестирование завершилось неудачно!' /tmp/test.log
40- after_success :
41- - bash <(curl -s https://codecov.io/bash)
42-
4352 - stage : Сборка и публикация github & hub.oscript.io
4453 script : skip
4554 before_deploy :
46- - opm build ./
55+ - docker run -it -v $(pwd):/work_dir evilbeaver/onescript:1.0.19 sh -c 'cd /work_dir; opm build ./ ; exit'
4756 deploy :
4857 - provider : releases
4958 api_key : " $GITHUB_OAUTH_TOKEN"
5059 file_glob : true
51- file : gitsync*.ospx
52- skip_cleanup : true
53- on :
54- branch : master
55- tags : true
56- - provider : script
57- skip_cleanup : true
58- script : opm push --token $GITHUB_OAUTH_TOKEN --channel dev --file ./preinstalled_plugins_gitsync-*.ospx;
59- on :
60- branch : develop
61- - provider : script
60+ file : $PACKAGE_NAME*.ospx
6261 skip_cleanup : true
63- script : opm push --token $GITHUB_OAUTH_TOKEN --channel stable --file ./preinstalled_plugins_gitsync-*.ospx;
6462 on :
6563 branch : master
6664 tags : true
65+
You can’t perform that action at this time.
0 commit comments