Skip to content

Commit 31bece2

Browse files
committed
Remove merge feature branch to develop
1 parent ab95cad commit 31bece2

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.travis.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ python: 3.8
77

88
jobs:
99
include:
10+
1011
- stage: test
1112
before_install:
1213
- sudo bash bin/deploy/install_system_dependencies.sh
@@ -15,6 +16,7 @@ jobs:
1516
script:
1617
# Run tests by using Travis virtual env (quick way, pip deps are cached)
1718
- sudo bash bin/tests/run_tests_on_travis.sh
19+
1820
- stage: merge (develop --> master)
1921
install:
2022
- sudo bash setup.sh
@@ -25,6 +27,7 @@ jobs:
2527
after_success:
2628
- bash bin/deploy/new_release_auto_tagging.sh
2729
- sudo bash bin/deploy/merge_develop_to_master.sh
30+
2831
- stage: deploy
2932
install: skip
3033
script: skip
@@ -40,11 +43,11 @@ jobs:
4043

4144
stages:
4245
- name: test
43-
if: NOT(branch==master)
46+
if: branch!=master AND branch!=^untagged.*
4447
- name: merge (develop --> master)
45-
if: branch==develop AND (NOT(type==pull_request))
48+
if: branch==develop AND type!=pull_request
4649
- name: deploy
47-
if: branch==master AND (NOT(type==pull_request))
50+
if: branch==master AND type!=pull_request
4851

4952
notifications:
5053
email: false

bin/deploy/new_release_auto_tagging.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
echo "Add tags to new release"
77
git config --global user.email "[email protected]"
88
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
1010
git tag $GIT_TAG -a -m "Generated tag from TravisCI for build $TRAVIS_BUILD_NUMBER"

0 commit comments

Comments
 (0)