diff --git a/.travis.yml b/.travis.yml index 1d4b500..c870af6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,5 @@ language: go go: -- 1.6.4 - 1.7.5 - 1.8.1 install: @@ -9,6 +8,11 @@ install: - go get github.com/rogpeppe/fastuuid - go get golang.org/x/net/context - go get gopkg.in/mgo.v2 +- go get github.com/fsnotify/fsnotify +- go get github.com/go-gomail/gomail +- go get go.uber.org/zap +- go get github.com/cockroachdb/cmux +- go get github.com/gorilla/mux - go get github.com/smartystreets/goconvey/convey before_script: - go vet -x ./... diff --git a/README.md b/README.md index cb1a760..3903892 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ ### Setup / installation -Building with the source +Building with the source, require go >= 1.7+ ``` go get -u github.com/shunfei/cronsun diff --git a/node/cron/parser_test.go b/node/cron/parser_test.go index 1de595f..099110e 100644 --- a/node/cron/parser_test.go +++ b/node/cron/parser_test.go @@ -186,7 +186,7 @@ func TestParse(t *testing.T) { t.Errorf("%s => unexpected error %v", c.expr, err) } if !reflect.DeepEqual(actual, c.expected) { - t.Errorf("%s => expected %b, got %b", c.expr, c.expected, actual) + t.Errorf("%s => expected %v, got %v", c.expr, c.expected, actual) } } } @@ -224,7 +224,7 @@ func TestStandardSpecSchedule(t *testing.T) { t.Errorf("%s => unexpected error %v", c.expr, err) } if !reflect.DeepEqual(actual, c.expected) { - t.Errorf("%s => expected %b, got %b", c.expr, c.expected, actual) + t.Errorf("%s => expected %v, got %v", c.expr, c.expected, actual) } } }