From 543e37f662b6ce4e08657f7a7af99b8ed1c2f725 Mon Sep 17 00:00:00 2001
From: Nick Craig-Wood <nick@craig-wood.com>
Date: Thu, 25 Oct 2018 16:56:23 +0100
Subject: [PATCH] Require go1.8 for compilation

---
 .travis.yml        | 1 -
 fs/versioncheck.go | 6 +++---
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index ec963769f..41b62da70 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,7 +4,6 @@ dist: trusty
 os:
 - linux
 go:
-- 1.7.x
 - 1.8.x
 - 1.9.x
 - 1.10.x
diff --git a/fs/versioncheck.go b/fs/versioncheck.go
index 00ce2d974..96901db2d 100644
--- a/fs/versioncheck.go
+++ b/fs/versioncheck.go
@@ -1,7 +1,7 @@
-//+build !go1.7
+//+build !go1.8
 
 package fs
 
-// Upgrade to Go version 1.7 to compile rclone - latest stable go
+// Upgrade to Go version 1.8 to compile rclone - latest stable go
 // compiler recommended.
-func init() { Go_version_1_7_required_for_compilation() }
+func init() { Go_version_1_8_required_for_compilation() }