Skip to content

Commit

Permalink
[DOC] Fix Travis-CI condition
Browse files Browse the repository at this point in the history
"Not document only" should be honored always.  Also simplified repo
and branch conditions
  • Loading branch information
nobu committed Dec 17, 2023
1 parent cbda94e commit aab74ea
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Expand Up @@ -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

Expand Down

0 comments on commit aab74ea

Please sign in to comment.