Skip to content

Commit 17e4fe8

Browse files
author
Shlomi Noach
committed
TravisCI updated to go1.12 ; but we are likely to remove TravisCI anyhow
1 parent 90ab236 commit 17e4fe8

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
language: go
33

44
go:
5-
- "1.9"
6-
- "1.10"
5+
- "1.12.x"
76

87
os:
98
- linux

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ Please see [Coding gh-ost](doc/coding-ghost.md) for a guide to getting started d
9494

9595
[Download latest release here](https://github.com/github/gh-ost/releases/latest)
9696

97-
`gh-ost` is a Go project; it is built with Go `1.9` and above. To build on your own, use either:
97+
`gh-ost` is a Go project; it is built with Go `1.12` and above. To build on your own, use either:
9898
- [script/build](https://github.com/github/gh-ost/blob/master/script/build) - this is the same build script used by CI hence the authoritative; artifact is `./bin/gh-ost` binary.
9999
- [build.sh](https://github.com/github/gh-ost/blob/master/build.sh) for building `tar.gz` artifacts in `/tmp/gh-ost`
100100

build.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ function build {
2020

2121

2222

23-
if ! go version | egrep -q 'go(1[.]9|1[.]1[0-9])' ; then
24-
echo "go version is too low. Must use 1.9 or above"
25-
exit 1
23+
if ! go version | egrep -q 'go(1\.1[234])' ; then
24+
echo "go version must be 1.12 or above"
25+
ok=1
2626
fi
2727

2828
echo "Building ${osname} binary"

0 commit comments

Comments
 (0)