mirror of https://github.com/shunfei/cronsun
parent
1dc501e6ae
commit
56f8db46b3
@ -1,20 +1,18 @@
|
|||||||
language: go
|
language: go
|
||||||
go:
|
go:
|
||||||
- 1.9
|
- 1.11.x
|
||||||
|
env:
|
||||||
|
- GO111MODULE=on
|
||||||
install:
|
install:
|
||||||
- go get -u github.com/coreos/etcd/clientv3
|
- go mod vendor
|
||||||
- go get github.com/rogpeppe/fastuuid
|
|
||||||
- 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/spf13/cobra
|
|
||||||
- go get github.com/satori/go.uuid
|
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- go vet -x ./...
|
- go vet -x ./...
|
||||||
script:
|
|
||||||
- go test -v -race ./...
|
matrix:
|
||||||
|
include:
|
||||||
|
- go: "1.10.x"
|
||||||
|
script: go test -v ./...
|
||||||
|
- go: "1.11.x"
|
||||||
|
script: go test -v -race -mod=vendor ./...
|
||||||
|
|
||||||
|
Loading…
Reference in new issue