From 55dc9d898fd3978b0048eea0bcccd6abee73812c Mon Sep 17 00:00:00 2001 From: Unknwon Date: Wed, 23 Nov 2016 20:23:18 -0500 Subject: [PATCH] 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. --- .travis.yml | 1 - gogs.go | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 82387935a..6eba760d6 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 a8e9ea6ad..0378bebf7 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