aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-11-23 20:23:18 -0500
committerUnknwon <u@gogs.io>2016-11-23 20:23:18 -0500
commit55dc9d898fd3978b0048eea0bcccd6abee73812c (patch)
treebbf2ee06b80eb5dcd4727380ba810daaff00233b
parent552d5c7cebce983cb9d5954dc5247009205ee0d1 (diff)
Drop Go 1.4 support
Due to golang.org/x/crypto/ssh requires a method from STD in Go 1.5. And Go 1.4 is fairly old version for now.
-rw-r--r--.travis.yml1
-rw-r--r--gogs.go2
2 files changed, 1 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 82387935..6eba760d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,7 +1,6 @@
language: go
go:
- - 1.4
- 1.5
- 1.6
- 1.7
diff --git a/gogs.go b/gogs.go
index a8e9ea6a..0378bebf 100644
--- a/gogs.go
+++ b/gogs.go
@@ -1,4 +1,4 @@
-// +build go1.4
+// +build go1.5
// Copyright 2014 The Gogs Authors. All rights reserved.
// Use of this source code is governed by a MIT-style