TravisCI updated to go1.12 ; but we are likely to remove TravisCI anyhow
This commit is contained in:
parent
90ab2368dd
commit
17e4fe8017
@ -2,8 +2,7 @@
|
|||||||
language: go
|
language: go
|
||||||
|
|
||||||
go:
|
go:
|
||||||
- "1.9"
|
- "1.12.x"
|
||||||
- "1.10"
|
|
||||||
|
|
||||||
os:
|
os:
|
||||||
- linux
|
- linux
|
||||||
|
@ -94,7 +94,7 @@ Please see [Coding gh-ost](doc/coding-ghost.md) for a guide to getting started d
|
|||||||
|
|
||||||
[Download latest release here](https://github.com/github/gh-ost/releases/latest)
|
[Download latest release here](https://github.com/github/gh-ost/releases/latest)
|
||||||
|
|
||||||
`gh-ost` is a Go project; it is built with Go `1.9` and above. To build on your own, use either:
|
`gh-ost` is a Go project; it is built with Go `1.12` and above. To build on your own, use either:
|
||||||
- [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.
|
- [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.
|
||||||
- [build.sh](https://github.com/github/gh-ost/blob/master/build.sh) for building `tar.gz` artifacts in `/tmp/gh-ost`
|
- [build.sh](https://github.com/github/gh-ost/blob/master/build.sh) for building `tar.gz` artifacts in `/tmp/gh-ost`
|
||||||
|
|
||||||
|
6
build.sh
6
build.sh
@ -20,9 +20,9 @@ function build {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
if ! go version | egrep -q 'go(1[.]9|1[.]1[0-9])' ; then
|
if ! go version | egrep -q 'go(1\.1[234])' ; then
|
||||||
echo "go version is too low. Must use 1.9 or above"
|
echo "go version must be 1.12 or above"
|
||||||
exit 1
|
ok=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Building ${osname} binary"
|
echo "Building ${osname} binary"
|
||||||
|
Loading…
Reference in New Issue
Block a user