Skip to content

Commit

Permalink
only deploy from latest
Browse files Browse the repository at this point in the history
  • Loading branch information
nicksnyder committed Jun 11, 2019
1 parent 0c6ce6a commit d69004e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 ./...
Expand All @@ -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

0 comments on commit d69004e

Please sign in to comment.