Skip to content

Commit 1eed52f

Browse files
authored
changes based on suggestion
1 parent cc22113 commit 1eed52f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.travis.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ stages:
1616
- name: imgbot
1717
if: sender IN (svenfuchs, imgbot[bot])
1818
- name: Run build
19-
if: type IN (push, cron)
19+
if: type IN (push, cron) AND (branch = master OR tag IS present)
2020
jobs:
2121
include:
2222
- &test-baseline
@@ -56,7 +56,7 @@ jobs:
5656
# - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin; docker push acceptbitcoincash/acceptbitcoincash
5757
docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD"; docker push acceptbitcoincash/acceptbitcoincash
5858
on:
59-
tags: true
59+
all_branches: true # <== new!
6060
condition: $NEXT_BUILD_TAG != "latest"
6161
- provider: pages
6262
skip-cleanup: true
@@ -66,7 +66,7 @@ jobs:
6666
repo: acceptbitcoincash/acceptbitcoincash
6767
target_branch: gh-pages
6868
on:
69-
tags: true
69+
all_branches: true # <== new!
7070
allow_failures:
7171
- stage: Test
7272
script:

0 commit comments

Comments
 (0)