fix crashes on go1.11: build releases on go1.11

This commit is contained in:
Denis Isaev 2018-07-28 23:48:01 +03:00
parent c5721f50d0
commit 99d04546ce
No known key found for this signature in database
GPG Key ID: A36A0EC8E27A1A01

View File

@ -3,6 +3,7 @@ language: go
go: go:
- 1.9.x - 1.9.x
- 1.10.x - 1.10.x
- 1.11beta2
script: make check_generated test script: make check_generated test
after_success: after_success:
@ -19,4 +20,6 @@ deploy:
script: curl -sL https://git.io/goreleaser | bash script: curl -sL https://git.io/goreleaser | bash
on: on:
tags: true tags: true
condition: $TRAVIS_GO_VERSION =~ ^1\.10\. # it's important to build on the newest version of go:
# - go1.11 type checking properly supports _wasm.go file, without that golangci-lint won't compile program with go 1.11 env
condition: $TRAVIS_GO_VERSION =~ ^1\.11