From eded761cc1535118e432661ae238c84b343d656c Mon Sep 17 00:00:00 2001 From: Joel Speed Date: Fri, 4 Jan 2019 11:07:45 +0000 Subject: [PATCH] Fix CI after make introduction --- .travis.yml | 1 + configure | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index ce55714..4d4ede7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,7 @@ install: # Fetch dependencies - wget -O dep https://github.com/golang/dep/releases/download/v0.3.2/dep-linux-amd64 - chmod +x dep + - mv dep /usr/local/bin/dep script: - ./configure # Run tests diff --git a/configure b/configure index 2de227f..8c78c5a 100755 --- a/configure +++ b/configure @@ -81,7 +81,7 @@ check_for() { check_go_version() { echo -n "Checking go version... " GO_VERSION=$(${tools[go]} version | ${tools[awk]} '{where = match($0, /[0-9]\.[0-9]+\.[0-9]*/); if (where != 0) print substr($0, RSTART, RLENGTH)}') - vercomp $GO_VERSION 1.10 + vercomp $GO_VERSION 1.9 case $? in 0) ;& 1) @@ -91,7 +91,7 @@ check_go_version() { ;; 2) printf "${RED}" - echo "$GO_VERSION < 1.10" + echo "$GO_VERSION < 1.9" exit 1 ;; esac