diff options
author | Nick Snyder <nickdsnyder@gmail.com> | 2019-06-11 20:18:36 +0300 |
---|---|---|
committer | Nick Snyder <nickdsnyder@gmail.com> | 2019-06-11 20:18:36 +0300 |
commit | d69004ed89274e9bbaf6558dbff2065795169ef2 (patch) | |
tree | acaa7e9eefdb227a66528ccab9e0d56e8a490c3a | |
parent | 0c6ce6ac1e8c119993c3d5638af4f7cd67ff068a (diff) |
only deploy from latesttest
-rw-r--r-- | .travis.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index 7ce55bc..c40ce53 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 |