mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	Enable Travis on the specific branches or forked repositories.
Align the Travis enabling timing with GitHub Actions. For the syntax, see <https://docs.travis-ci.com/user/conditions-v1>. We use `repo` syntax rather than `fork = true/false` syntax to show a general usage in any repositories on GitHub. The non-forked repo is not always a primary repo in any GitHub repositories. [Bug #17936]
This commit is contained in:
		
							parent
							
								
									e03bf76b31
								
							
						
					
					
						commit
						f7741cda32
					
				
				
				Notes:
				
					git
				
				2021-06-10 00:17:27 +09:00 
				
			
			
			
		
		
					 1 changed files with 2 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -203,11 +203,8 @@ script:
 | 
			
		|||
  - $SETARCH make -s test-spec MSPECOPT=-ff # not using `-j` because sometimes `mspec -j` silently dies
 | 
			
		||||
  - $SETARCH make -s -o showflags leaked-globals
 | 
			
		||||
 | 
			
		||||
# Branch matrix.  Not all branches are Travis-ready so we limit branches here.
 | 
			
		||||
branches:
 | 
			
		||||
  only:
 | 
			
		||||
    - master
 | 
			
		||||
    - /^ruby_\d_\d$/
 | 
			
		||||
# 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
 | 
			
		||||
 | 
			
		||||
# We want to be notified when something happens.
 | 
			
		||||
notifications:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue