This is an automated email from the ASF dual-hosted git repository.

nferraro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit 8733d6d8abd02914f15c0983b8d91440348a375f
Author: lburgazzoli <lburgazz...@gmail.com>
AuthorDate: Wed Jun 26 11:05:50 2019 +0200

    chore(lint): run golanci-lint on travis
---
 .travis.yml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index 5ad38ed..6315996 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -23,6 +23,8 @@ language: go
 go:
   - "1.11.4"
 
+install: true
+
 env:
   global:
     - GO111MODULE="on"
@@ -33,5 +35,9 @@ env:
 services:
   - docker
 
+before_script:
+  - curl -sfL 
https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh 
-s -- -b . v1.17.1
+
 script:
+  - ./golangci-lint run || travis_terminate 1;
   - ./script/travis_build.sh

Reply via email to