File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ install:
2121script :
2222  - make lint 
2323  - vendorcheck ./... 
24-   - make test 
24+   - make test-with-coverage  
2525
2626after_script :
2727  - make golint 
Original file line number Diff line number Diff line change @@ -23,4 +23,8 @@ golint:
2323
2424test :
2525	#  TODO: When Go 1.9 is released vendor folder should be ignored automatically
26- 	bash -c ' go list ./... | grep -v vendor | xargs -n1 go test -timeout=10s -race -coverprofile=coverage.txt -covermode=atomic' 
26+ 	bash -c ' go list ./... | grep -v vendor | xargs -n1 go test -timeout=10s' 
27+ 
28+ test-with-coverage :
29+ 	#  TODO: When Go 1.9 is released vendor folder should be ignored automatically
30+ 	bash -c ' go list ./... | grep -v vendor | xargs -n1 go test -timeout=20s -race -coverprofile=coverage.txt -covermode=atomic' 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments