Skip to content

Commit

Permalink
Merge pull request #952 from dvrkps/patch-1
Browse files Browse the repository at this point in the history
travis: update go versions
  • Loading branch information
eapache authored Sep 20, 2017
2 parents 4704a3a + 5c22197 commit c765017
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
language: go
go:
- 1.7.3
- 1.8
- 1.7.x
- 1.8.x
- 1.9.x

env:
global:
Expand Down
2 changes: 1 addition & 1 deletion message_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func TestMessageEncoding(t *testing.T) {

message.Value = []byte{}
message.Codec = CompressionGZIP
if runtime.Version() == "go1.8" || strings.HasPrefix(runtime.Version(), "go1.8.") {
if strings.HasPrefix(runtime.Version(), "go1.8") || strings.HasPrefix(runtime.Version(), "go1.9") {
testEncodable(t, "empty gzip", &message, emptyGzipMessage18)
} else {
testEncodable(t, "empty gzip", &message, emptyGzipMessage)
Expand Down

0 comments on commit c765017

Please sign in to comment.