[Travis] Fix backport branch being run as push job (#9680)

This commit is contained in:
Denis Rouzaud 2019-04-01 17:29:37 -05:00 committed by GitHub
parent 5b586e8139
commit eacd47bfa6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,7 @@ cache:
- ${HOME}/.ccache_docker_build_cosmic
- ${HOME}/.ccache_docker_build_bionic
timeout: 1000
if: NOT branch =~ /^(cherry-pick-)?backport-\d+-on-/ AND NOT branch =~ /-patch-\d+$/
if: NOT branch =~ /^(cherry-pick-)?backport-\d+-/ AND NOT branch =~ /-patch-\d+$/
env:
global: