Do not do unecessary build.
Build only if the travis event is not a push (pull_request, cron, ..) or we are pushing a tag (to build releases).
This commit is contained in:
parent
a394c4292c
commit
1ed8889e26
|
@ -5,6 +5,7 @@ branches:
|
|||
only:
|
||||
- master
|
||||
- /\d+\.\d+\.\d+$/
|
||||
if: type != push OR tag IS present
|
||||
before_install:
|
||||
- eval "${MATRIX_EVAL}"
|
||||
- ${CXX} --version
|
||||
|
|
Loading…
Reference in New Issue