[DOC] Fix Travis-CI condition

"Not document only" should be honored always.  Also simplified repo
and branch conditions
This commit is contained in:
Nobuyoshi Nakada 2023-12-17 21:17:48 +09:00
parent cbda94edd8
commit aab74eafde
No known key found for this signature in database
GPG Key ID: 3582D74E1FEE4465

View File

@ -11,7 +11,9 @@
# https://github.com/ruby/ruby/wiki/CI-Servers#travis-ci
# We enable Travis on the specific branches or forked repositories here.
if: (repo = ruby/ruby AND (branch = master OR branch =~ /^ruby_\d_\d$/)) OR repo != ruby/ruby OR commit_message !~ /\[DOC\]/
if: >-
(repo != ruby/ruby OR branch = master OR branch =~ /^ruby_\d_\d$/)
AND (commit_message !~ /\[DOC\]/)
language: c