nicolaferraro commented on issue #773: chore(lint): run golanci-lint on travis
URL: https://github.com/apache/camel-k/pull/773#issuecomment-505918079
 
 
   I see this in the log:
   
   ```
   $ ./golangci-lint run
   ERRO Running error: context loading failed: failed to load program with 
go/packages: go [list -f {{context.GOARCH}} {{context.Compiler}} -- unsafe]: 
exit status 1: go: github.com/inconshreveable/[email protected]: git init --bare 
in 
/home/travis/gopath/pkg/mod/cache/vcs/789073dcfc473e7775315ee47ed8dda0b5d23fc69eec98221905dcf98b9d5848:
 exit status 128:
        fatal: cannot copy 
'/usr/share/git-core/templates/hooks/pre-commit.sample' to 
'/home/travis/gopath/pkg/mod/cache/vcs/789073dcfc473e7775315ee47ed8dda0b5d23fc69eec98221905dcf98b9d5848/hooks/pre-commit.sample':
 File exists
   ```
   
   Maybe we should not continue with integration tests if lint fails.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to