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

Commit

Permalink
Update to Go 1.9
Browse files Browse the repository at this point in the history
Signed-off-by: Juanjo Alvarez <[email protected]>
  • Loading branch information
Juanjo Alvarez committed Mar 15, 2018
1 parent 8dc2829 commit 9d2a551
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
language: go

go:
- 1.8
- 1.9
- tip

go_import_path: gopkg.in/bblfsh/sdk.v1
Expand Down
7 changes: 4 additions & 3 deletions assets/build/bindata.go

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

9 changes: 5 additions & 4 deletions assets/skeleton/bindata.go

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

4 changes: 2 additions & 2 deletions etc/build/etc/build/Dockerfile.build.alpine.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ENV GOROOT=""

ENV GOLANG_SRC_URL https://golang.org/dl/go${RUNTIME_GO_VERSION}.src.tar.gz

# from https://github.com/docker-library/golang/blob/master/1.8/alpine3.6/Dockerfile
# from https://github.com/docker-library/golang/blob/master/1.9/alpine3.7/Dockerfile

RUN apk add --update --no-cache ca-certificates openssl && update-ca-certificates
RUN wget https://raw.githubusercontent.com/docker-library/golang/e63ba9c5efb040b35b71e16722b71b2931f29eb8/${RUNTIME_GO_VERSION}/alpine3.6/no-pic.patch -O /no-pic.patch -O /no-pic.patch
Expand Down Expand Up @@ -34,4 +34,4 @@ RUN set -ex \
ENV GOPATH /go
ENV PATH $GOPATH/bin:/usr/local/go/bin:$PATH

RUN mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 777 "$GOPATH"
RUN mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 777 "$GOPATH"
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.8
- 1.9

services:
- docker
Expand Down
4 changes: 2 additions & 2 deletions etc/skeleton/manifest.toml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ description = """
os = "{{.OS}}"

# go_version describes the version being use to build the driver Go code.
go_version = "1.8"
go_version = "1.9"

# native_version describes the version or versions being use to build and
# execute the native code, you should define at least one. (eg.: "1.8").
native_version = []
native_version = []
4 changes: 2 additions & 2 deletions manifest/manifest_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ features = ["ast", "uast", "roles"]
[runtime]
os = "alpine"
native_version = ["42"]
go_version = "1.8"
go_version = "1.9"
`[1:]

func TestEncode(t *testing.T) {
Expand All @@ -29,7 +29,7 @@ func TestEncode(t *testing.T) {
m.Features = []Feature{AST, UAST, Roles}
m.Documentation.Description = "foo"
m.Runtime.OS = Alpine
m.Runtime.GoVersion = "1.8"
m.Runtime.GoVersion = "1.9"
m.Runtime.NativeVersion = []string{"42"}

buf := bytes.NewBuffer(nil)
Expand Down

0 comments on commit 9d2a551

Please sign in to comment.