Travis CI tweaks
Tweak our Travis CI configuration and the one we suggest for taps to be faster and use caching.
This commit is contained in:
		
							parent
							
								
									2372872974
								
							
						
					
					
						commit
						5cdb0d0a6d
					
				@ -8,9 +8,11 @@ matrix:
 | 
			
		||||
      osx_image: xcode8.3
 | 
			
		||||
      rvm: system
 | 
			
		||||
    - os: linux
 | 
			
		||||
      sudo: false
 | 
			
		||||
      rvm: 2.0.0
 | 
			
		||||
 | 
			
		||||
before_install:
 | 
			
		||||
  - rm -rf Library/Homebrew/vendor/bundle/
 | 
			
		||||
  - export GEM_HOME="$PWD/Library/Homebrew/vendor/ruby/2.0.0"
 | 
			
		||||
  - gem list --installed bundler || gem install bundler
 | 
			
		||||
  - export PATH="$GEM_HOME/bin:$PATH"
 | 
			
		||||
 | 
			
		||||
@ -46,9 +46,10 @@ module Homebrew
 | 
			
		||||
    travis = <<-EOS.undent
 | 
			
		||||
      language: ruby
 | 
			
		||||
      os: osx
 | 
			
		||||
      env: OSX=10.12
 | 
			
		||||
      osx_image: xcode8.3
 | 
			
		||||
      rvm: system
 | 
			
		||||
      cache:
 | 
			
		||||
        directories: /usr/local/Homebrew/Library/Homebrew/vendor
 | 
			
		||||
 | 
			
		||||
      before_install:
 | 
			
		||||
        - export TRAVIS_COMMIT="$(git rev-parse --verify -q HEAD)"
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user