mirror of https://github.com/shunfei/cronsun
Fix travis fail
parent
f4c990cf44
commit
739ab4cec9
|
@ -1,6 +1,5 @@
|
||||||
language: go
|
language: go
|
||||||
go:
|
go:
|
||||||
- 1.6.4
|
|
||||||
- 1.7.5
|
- 1.7.5
|
||||||
- 1.8.1
|
- 1.8.1
|
||||||
install:
|
install:
|
||||||
|
@ -9,6 +8,11 @@ install:
|
||||||
- go get github.com/rogpeppe/fastuuid
|
- go get github.com/rogpeppe/fastuuid
|
||||||
- go get golang.org/x/net/context
|
- go get golang.org/x/net/context
|
||||||
- go get gopkg.in/mgo.v2
|
- 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
|
- go get github.com/smartystreets/goconvey/convey
|
||||||
before_script:
|
before_script:
|
||||||
- go vet -x ./...
|
- go vet -x ./...
|
||||||
|
|
|
@ -47,7 +47,7 @@
|
||||||
|
|
||||||
### Setup / installation
|
### Setup / installation
|
||||||
|
|
||||||
Building with the source
|
Building with the source, require go >= 1.7+
|
||||||
|
|
||||||
```
|
```
|
||||||
go get -u github.com/shunfei/cronsun
|
go get -u github.com/shunfei/cronsun
|
||||||
|
|
|
@ -186,7 +186,7 @@ func TestParse(t *testing.T) {
|
||||||
t.Errorf("%s => unexpected error %v", c.expr, err)
|
t.Errorf("%s => unexpected error %v", c.expr, err)
|
||||||
}
|
}
|
||||||
if !reflect.DeepEqual(actual, c.expected) {
|
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)
|
t.Errorf("%s => unexpected error %v", c.expr, err)
|
||||||
}
|
}
|
||||||
if !reflect.DeepEqual(actual, c.expected) {
|
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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue