Skip to content
This repository has been archived by the owner on Mar 8, 2020. It is now read-only.

Commit

Permalink
update go version to 1.13
Browse files Browse the repository at this point in the history
Signed-off-by: lwsanty <[email protected]>
  • Loading branch information
lwsanty authored and dennwc committed Oct 9, 2019
1 parent 10532ab commit 10ec331
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
language: go

go:
- '1.11.x'
- '1.12.x'
- '1.13.x'
- tip

services:
Expand Down
8 changes: 4 additions & 4 deletions assets/skeleton/bindata.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/sdk_update.go
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ func updateToModules(root string) error {
return err
}
// next, replace Go version in the driver's manifest
if err = updateGo(root, "1.12"); err != nil {
if err = updateGo(root, "1.13"); err != nil {
return err
}
// remove unneeded files (from git as well)
Expand Down
2 changes: 1 addition & 1 deletion cmd/bblfsh-drivers-updater/utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ func newPipeLine(d discovery.Driver, githubToken string, o *UpdateOptions) *pipe
}

func (p *pipeLine) createDockerfile() (string, error) {
const header = `FROM golang:1.12
const header = `FROM golang:1.13
ARG GITHUB_TOKEN
Expand Down
2 changes: 1 addition & 1 deletion driver/manifest/discovery/discovery_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func TestOfficialDrivers(t *testing.T) {
require.NoError(t, err)
require.NotEmpty(t, vers)
require.True(t, len(vers) >= 18, "versions: %d", len(vers))
require.True(t, semver.MustParse(latest).GTE(vers[0]))
require.True(t, semver.MustParse(latest).LTE(vers[0]))
}
}
}
2 changes: 1 addition & 1 deletion etc/skeleton/.travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
language: go

go:
- '1.12.x'
- '1.13.x'

services:
- docker
Expand Down
2 changes: 1 addition & 1 deletion etc/skeleton/build.yml.tpl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
sdk: '2'
go-runtime:
version: '1.12'
version: '1.13'
native:
# TODO: an image used as a driver runtime
image: 'debian:latest'
Expand Down

0 comments on commit 10ec331

Please sign in to comment.