mirror of
				https://github.com/varvet/pundit.git
				synced 2022-11-09 12:30:11 -05:00 
			
		
		
		
	Only install bundler on needy version
It seems that on the preinstalled version of ruby we (sometimes?) don't get a preinstalled bundler for free, but on rubies which we build and install ourselves we do. By not installing before every single build we save ourselves a few seconds in the overall build.
This commit is contained in:
		
							parent
							
								
									ee405a8787
								
							
						
					
					
						commit
						7f585a3242
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -1,11 +1,11 @@
 | 
			
		|||
language: ruby
 | 
			
		||||
before_install:
 | 
			
		||||
  - gem install bundler
 | 
			
		||||
 | 
			
		||||
matrix:
 | 
			
		||||
  include:
 | 
			
		||||
    - name: "RuboCop lint on pre-installed Ruby version"
 | 
			
		||||
      rvm: 2.5.3 # Pre-installed Ruby version
 | 
			
		||||
      before_install:
 | 
			
		||||
        - gem install bundler
 | 
			
		||||
      script: bundle exec rake rubocop # ONLY lint once, first
 | 
			
		||||
    - rvm: 2.3.5
 | 
			
		||||
    - rvm: 2.4.6
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue