Skip to content

Commit

Permalink
Merge pull request #12 from kaishuu0123/fix/travis-release-ci
Browse files Browse the repository at this point in the history
Fix TravisCI (when Release)
  • Loading branch information
kaishuu0123 authored Jan 9, 2020
2 parents 509fe8e + c3b47ff commit 72bbb68
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ env:
before_install:
- go get github.com/mitchellh/gox
- go get github.com/mattn/goveralls

script:
- go test -v -covermode=count -coverprofile=coverage.out ./...
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then goveralls -coverprofile=coverage.out -service travis-ci -repotoken ${COVERALLS_TOKEN}; fi'
Expand All @@ -31,3 +31,4 @@ deploy:
overwrite: true
on:
tags: true
condition: $TRAVIS_GO_VERSION =~ ^1\.13

0 comments on commit 72bbb68

Please sign in to comment.