Skip to content

Commit 99d0454

Browse files
committed
fix crashes on go1.11: build releases on go1.11
1 parent c5721f5 commit 99d0454

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ language: go
33
go:
44
- 1.9.x
55
- 1.10.x
6+
- 1.11beta2
67
script: make check_generated test
78

89
after_success:
@@ -19,4 +20,6 @@ deploy:
1920
script: curl -sL https://git.io/goreleaser | bash
2021
on:
2122
tags: true
22-
condition: $TRAVIS_GO_VERSION =~ ^1\.10\.
23+
# it's important to build on the newest version of go:
24+
# - go1.11 type checking properly supports _wasm.go file, without that golangci-lint won't compile program with go 1.11 env
25+
condition: $TRAVIS_GO_VERSION =~ ^1\.11

0 commit comments

Comments
 (0)