Merge branch 'master' into close-streamer-connection
This commit is contained in:
commit
349c9af08d
@ -5,8 +5,6 @@
|
|||||||
|
|
||||||
package binlog
|
package binlog
|
||||||
|
|
||||||
import ()
|
|
||||||
|
|
||||||
// BinlogReader is a general interface whose implementations can choose their methods of reading
|
// BinlogReader is a general interface whose implementations can choose their methods of reading
|
||||||
// a binary log file and parsing it into binlog entries
|
// a binary log file and parsing it into binlog entries
|
||||||
type BinlogReader interface {
|
type BinlogReader interface {
|
||||||
|
@ -17,8 +17,6 @@ import (
|
|||||||
"github.com/siddontang/go-mysql/replication"
|
"github.com/siddontang/go-mysql/replication"
|
||||||
)
|
)
|
||||||
|
|
||||||
var ()
|
|
||||||
|
|
||||||
const (
|
const (
|
||||||
serverId = 99999
|
serverId = 99999
|
||||||
)
|
)
|
||||||
|
@ -4,9 +4,14 @@ set -e
|
|||||||
|
|
||||||
. script/bootstrap
|
. script/bootstrap
|
||||||
|
|
||||||
|
echo "Verifying code is formatted via 'gofmt -s -w go/'"
|
||||||
|
gofmt -s -w go/
|
||||||
|
git diff --exit-code --quiet
|
||||||
|
|
||||||
|
echo "Building"
|
||||||
script/build
|
script/build
|
||||||
|
|
||||||
export GITBACKUPS_ENV=test
|
|
||||||
|
|
||||||
cd .gopath/src/github.com/github/gh-ost
|
cd .gopath/src/github.com/github/gh-ost
|
||||||
|
|
||||||
|
echo "Running unit tests"
|
||||||
go test ./go/...
|
go test ./go/...
|
||||||
|
Loading…
Reference in New Issue
Block a user