Forráskód Böngészése

Drop Go 1.3 support

Unknwon 8 éve
szülő
commit
acdb4d8bdd
4 módosított fájl, 1 hozzáadás és 11 törlés
  1. 0 1
      .travis.yml
  2. 1 1
      gogs.go
  3. 0 2
      modules/ssh/ssh.go
  4. 0 7
      modules/ssh/ssh_1.3.go

+ 0 - 1
.travis.yml

@@ -1,7 +1,6 @@
 language: go
 
 go:
-  - 1.3
   - 1.4
   - 1.5
 

+ 1 - 1
gogs.go

@@ -1,4 +1,4 @@
-// +build go1.3
+// +build go1.4
 
 // Copyright 2014 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style

+ 0 - 2
modules/ssh/ssh.go

@@ -1,5 +1,3 @@
-// +build go1.4
-
 // Copyright 2014 The Gogs Authors. All rights reserved.
 // Use of this source code is governed by a MIT-style
 // license that can be found in the LICENSE file.

+ 0 - 7
modules/ssh/ssh_1.3.go

@@ -1,7 +0,0 @@
-// +build !go1.4
-
-package ssh
-
-func Listen(port int) {
-	panic("Gogs requires Go 1.4 for starting a SSH server")
-}