mirror of https://github.com/grpc/grpc-go.git
				
				
				
			Update travis config
This commit is contained in:
		
							parent
							
								
									ac90a026b6
								
							
						
					
					
						commit
						8ab0d24ed3
					
				
							
								
								
									
										10
									
								
								.travis.yml
								
								
								
								
							
							
						
						
									
										10
									
								
								.travis.yml
								
								
								
								
							| 
						 | 
				
			
			@ -1,8 +1,10 @@
 | 
			
		|||
language: go
 | 
			
		||||
 | 
			
		||||
go:
 | 
			
		||||
  - 1.5.3
 | 
			
		||||
  - 1.6
 | 
			
		||||
  - 1.5.4
 | 
			
		||||
  - 1.6.3
 | 
			
		||||
 | 
			
		||||
go_import_path: google.golang.org/grpc
 | 
			
		||||
 | 
			
		||||
before_install:
 | 
			
		||||
  - go get golang.org/x/tools/cmd/goimports
 | 
			
		||||
| 
						 | 
				
			
			@ -11,10 +13,6 @@ before_install:
 | 
			
		|||
  - go get github.com/mattn/goveralls
 | 
			
		||||
  - go get golang.org/x/tools/cmd/cover
 | 
			
		||||
 | 
			
		||||
install:
 | 
			
		||||
  - mkdir -p "$GOPATH/src/google.golang.org"
 | 
			
		||||
  - mv "$TRAVIS_BUILD_DIR" "$GOPATH/src/google.golang.org/grpc"
 | 
			
		||||
 | 
			
		||||
script:
 | 
			
		||||
  - '! gofmt -s -d -l . 2>&1 | read'
 | 
			
		||||
  - '! goimports -l . | read'
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue