.travis.yml 🔗
@@ -1,7 +1,5 @@
matrix:
include:
- - language: go
- go: "1.8"
- language: go
go: "1.9"
- language: go
Amine Hilaly created
.travis.yml | 2
Gopkg.lock | 6 +-
git-bug.go | 4
vendor/github.com/theckman/goconstraint/go1.8/gte/constraint.go | 8 ---
vendor/github.com/theckman/goconstraint/go1.8/gte/go18.go | 7 --
vendor/github.com/theckman/goconstraint/go1.9/gte/constraint.go | 8 +++
vendor/github.com/theckman/goconstraint/go1.9/gte/go19.go | 7 ++
7 files changed, 20 insertions(+), 22 deletions(-)
@@ -1,7 +1,5 @@
matrix:
include:
- - language: go
- go: "1.8"
- language: go
go: "1.9"
- language: go
@@ -306,9 +306,9 @@
version = "v1.2.2"
[[projects]]
- digest = "1:0ec412b28282c10ac6ce56039120741bb738814e4874d23c15fdff37f6aa7a62"
+ digest = "1:823766f4e1833bd562339317d905475fe46789da3863b2da7a1871f9f12bb4b3"
name = "github.com/theckman/goconstraint"
- packages = ["go1.8/gte"]
+ packages = ["go1.9/gte"]
pruneopts = "UT"
revision = "93babf24513d0e8277635da8169fcc5a46ae3f6a"
version = "v1.11.0"
@@ -452,7 +452,7 @@
"github.com/spf13/cobra/doc",
"github.com/stretchr/testify/assert",
"github.com/stretchr/testify/require",
- "github.com/theckman/goconstraint/go1.8/gte",
+ "github.com/theckman/goconstraint/go1.9/gte",
"github.com/vektah/gqlgen/client",
"github.com/vektah/gqlparser",
"github.com/vektah/gqlparser/ast",
@@ -8,8 +8,8 @@ package main
import (
"github.com/MichaelMure/git-bug/commands"
- // minimal go version is 1.8
- _ "github.com/theckman/goconstraint/go1.8/gte"
+ // minimal go version is 1.9
+ _ "github.com/theckman/goconstraint/go1.9/gte"
)
func main() {
@@ -1,8 +0,0 @@
-// The contents of this file has been released in to the Public Domain.
-
-// Package gtego18 should only be used as a blank import. If imported, it
-// will only compile if the Go runtime version is >= 1.8.
-package gtego18
-
-// This will fail to compile if the Go runtime version isn't >= 1.8.
-var _ = __SOFTWARE_REQUIRES_GO_VERSION_1_8__
@@ -1,7 +0,0 @@
-// The contents of this file has been released in to the Public Domain.
-
-// +build go1.8
-
-package gtego18
-
-const __SOFTWARE_REQUIRES_GO_VERSION_1_8__ = uint8(0)
@@ -0,0 +1,8 @@
+// The contents of this file has been released in to the Public Domain.
+
+// Package gtego19 should only be used as a blank import. If imported, it
+// will only compile if the Go runtime version is >= 1.9.
+package gtego19
+
+// This will fail to compile if the Go runtime version isn't >= 1.9.
+var _ = __SOFTWARE_REQUIRES_GO_VERSION_1_9__
@@ -0,0 +1,7 @@
+// The contents of this file has been released in to the Public Domain.
+
+// +build go1.9
+
+package gtego19
+
+const __SOFTWARE_REQUIRES_GO_VERSION_1_9__ = uint8(0)