Skip to content

Commit

Permalink
Update Travis to Go 1.11 and Go 1.10.4
Browse files Browse the repository at this point in the history
  • Loading branch information
bep committed Aug 25, 2018
1 parent 94d0e79 commit 27d519e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ env:
git:
depth: false
go:
- 1.9.7
- "1.10.3"
- "1.10.4"
- 1.11
- tip
os:
- linux
Expand Down
2 changes: 1 addition & 1 deletion Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

[[constraint]]
name = "github.com/magefile/mage"
version = "v1"
version = "^v2.2.0"

[[constraint]]
branch = "master"
Expand Down
2 changes: 1 addition & 1 deletion magefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ func CheckVendor() error {
}

func isGoLatest() bool {
return strings.Contains(runtime.Version(), "1.10")
return strings.Contains(runtime.Version(), "1.11")
}

func buildTags() string {
Expand Down
4 changes: 2 additions & 2 deletions resource/transform.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func (s *Spec) Transform(r Resource, t ResourceTransformation) (Resource, error)
Resource: r,
transformation: t,
transformedResourceMetadata: transformedResourceMetadata{MetaData: make(map[string]interface{})},
cache: s.ResourceCache}, nil
cache: s.ResourceCache}, nil
}

type ResourceTransformationCtx struct {
Expand Down Expand Up @@ -337,7 +337,7 @@ func (r *transformedResource) transform(setContent bool) (err error) {
defer bp.PutBuffer(b2)

tctx := &ResourceTransformationCtx{
Data: r.transformedResourceMetadata.MetaData,
Data: r.transformedResourceMetadata.MetaData,
OpenResourcePublisher: openPublishFileForWriting,
}

Expand Down

0 comments on commit 27d519e

Please sign in to comment.