File tree 2 files changed +7
-4
lines changed
2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ python: 3.8
7
7
8
8
jobs :
9
9
include :
10
+
10
11
- stage : test
11
12
before_install :
12
13
- sudo bash bin/deploy/install_system_dependencies.sh
15
16
script :
16
17
# Run tests by using Travis virtual env (quick way, pip deps are cached)
17
18
- sudo bash bin/tests/run_tests_on_travis.sh
19
+
18
20
- stage : merge (develop --> master)
19
21
install :
20
22
- sudo bash setup.sh
25
27
after_success :
26
28
- bash bin/deploy/new_release_auto_tagging.sh
27
29
- sudo bash bin/deploy/merge_develop_to_master.sh
30
+
28
31
- stage : deploy
29
32
install : skip
30
33
script : skip
@@ -40,11 +43,11 @@ jobs:
40
43
41
44
stages :
42
45
- name : test
43
- if : NOT( branch== master)
46
+ if : branch!= master AND branch!=^untagged.*
44
47
- name : merge (develop --> master)
45
- if : branch==develop AND (NOT( type== pull_request))
48
+ if : branch==develop AND type!= pull_request
46
49
- name : deploy
47
- if : branch==master AND (NOT( type== pull_request))
50
+ if : branch==master AND type!= pull_request
48
51
49
52
notifications :
50
53
email : false
Original file line number Diff line number Diff line change 6
6
echo " Add tags to new release"
7
7
git config --global user.email
" [email protected] "
8
8
git config --global user.name " Travis CI"
9
- export GIT_TAG=$TRAVIS_BRANCH -build_ $TRAVIS_BUILD_NUMBER
9
+ export GIT_TAG=Release_v. $TRAVIS_BUILD_NUMBER
10
10
git tag $GIT_TAG -a -m " Generated tag from TravisCI for build $TRAVIS_BUILD_NUMBER "
You can’t perform that action at this time.
0 commit comments