From 4d575ba13ae59fdb6e19c216830def11b23ac081 Mon Sep 17 00:00:00 2001 From: Wim Date: Thu, 4 Apr 2019 23:05:52 +0200 Subject: Fix travis deploy condition and update to golangci-lint v1.16 --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index f30c8b9c..c7066b4e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,7 +22,7 @@ jobs: go: 1.12.x env: - GO111MODULE=on - - GOLANGCI_VERSION="v1.15.0" + - GOLANGCI_VERSION="v1.16.0" - stage: test # Run tests in a combination of Go environments. script: ./ci/test.sh @@ -42,7 +42,7 @@ jobs: deploy: on: all_branches: true - condition: env(TRAVIS_GO_VERSION) = 1.12.x AND env(GO111MODULE) = on + condition: $TRAVIS_GO_VERSION =~ ^1\.12 before_deploy: # Run the build script to generate the necessary binaries and images. - /bin/bash ci/bintray.sh -- cgit v1.2.3