提交 a3b1ee05 编写于 作者: D Daniel P. Berrangé

travis: skip builds on -maint branches

For patches pushed upstream we want builds run on master branch, but
don't want them run on the -maint branches, as we are not keeping the
.travis.yml file on stable branches updated wrt latest needs of travis
CI platforms.

We can't just whitelist 'master' though, because that will prevent
developers triggering their own private travis builds. So we just
blacklist *-maint, since developers will typically use named feature
branches for any work.
Reviewed-by: NPavel Hrdina <phrdina@redhat.com>
Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
上级 c9ec7088
......@@ -2,6 +2,10 @@ sudo: false
language: c
cache: ccache
branches:
except:
- /^.*-maint$/
matrix:
include:
- compiler: gcc
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册