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