mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 02:12:23 +00:00
Update .travis.yml Only run deploy stage when it's a push (not on PR)
This commit is contained in:
parent
6a067abe00
commit
281320f4e9
1 changed files with 9 additions and 1 deletions
10
.travis.yml
10
.travis.yml
|
|
@ -55,7 +55,15 @@ jobs:
|
|||
provider: script
|
||||
script: bash docker_push.sh
|
||||
on:
|
||||
branch: travis
|
||||
branch: master
|
||||
- stage: Trigger rebuild of infrastructure image
|
||||
sudo: false
|
||||
script: bash docker_rebuild.sh
|
||||
|
||||
stages:
|
||||
- name: Build and test
|
||||
- name: Lint
|
||||
- name: Build and push Docker image
|
||||
if: type != pull_request AND branch = master
|
||||
- name: Trigger rebuild of infrastructure image
|
||||
if: type != pull_request AND branch = master
|
||||
|
|
|
|||
Loading…
Reference in a new issue