From d69004ed89274e9bbaf6558dbff2065795169ef2 Mon Sep 17 00:00:00 2001 From: Nick Snyder Date: Tue, 11 Jun 2019 10:18:36 -0700 Subject: [PATCH] only deploy from latest --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7ce55bcb..c40ce533 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,8 +4,8 @@ matrix: include: - go: 1.9.x env: GO111MODULE=on - - go: 1.12.x - env: GO111MODULE=on COVER='-coverprofile=coverage.txt -covermode=atomic' + - go: 1.x + env: GO111MODULE=on LATEST=true COVER='-coverprofile=coverage.txt -covermode=atomic' script: - cd v2; go test -race $COVER ./... @@ -19,4 +19,4 @@ deploy: script: cd v2; curl -sL https://git.io/goreleaser | bash on: tags: true - condition: $TRAVIS_OS_NAME = linux + condition: $LATEST = true