summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-12-17 21:17:48 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-12-17 21:17:48 +0900
commitaab74eafdeca6173d82eccc97de628538ff0c6fd (patch)
tree92ed07fd06fc882cc8886c5ac24d594b4b13efaa
parentcbda94edd80b0f664eda927f9ce9405b2074633a (diff)
[DOC] Fix Travis-CI condition
"Not document only" should be honored always. Also simplified repo and branch conditions
-rw-r--r--.travis.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 6d942d1425..25fbd69397 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -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