From aab74eafdeca6173d82eccc97de628538ff0c6fd Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sun, 17 Dec 2023 21:17:48 +0900 Subject: [PATCH] [DOC] Fix Travis-CI condition "Not document only" should be honored always. Also simplified repo and branch conditions --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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