Preprocessed files like .qtpl.go quicktemplate Go files can have //line directives. They map to a source .qtpl file. This commit fixes linting of such files: 1. don't fail on AST cache loading 2. output Go filename not .qtpl or similar Also, here we update golint to the upstream version. Relates: #316, #466, #467, #468
		
			
				
	
	
		
			20 lines
		
	
	
		
			239 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			239 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
sudo: false
 | 
						|
language: go
 | 
						|
go:
 | 
						|
  - 1.10.x
 | 
						|
  - 1.11.x
 | 
						|
  - master
 | 
						|
 | 
						|
go_import_path: github.com/golangci/lint-1
 | 
						|
 | 
						|
install:
 | 
						|
  - go get -t -v ./...
 | 
						|
 | 
						|
script:
 | 
						|
  - go test -v -race ./...
 | 
						|
 | 
						|
matrix:
 | 
						|
  allow_failures:
 | 
						|
    - go: master
 | 
						|
  fast_finish: true
 |