1
0
mirror of https://github.com/silenceper/wechat.git synced 2026-02-07 22:22:28 +08:00

Update .travis.yml

This commit is contained in:
silenceper
2018-02-23 16:13:44 +08:00
committed by GitHub
parent 149aaa0dbf
commit e386402f01

View File

@@ -1,6 +1,7 @@
language: go
go:
- 1.10
- 1.9
- 1.8
- 1.7
@@ -10,5 +11,12 @@ services:
- memcached
- redis-server
before_script:
- GO_FILES=$(find . -iname '*.go' -type f | grep -v /vendor/)
- go get github.com/golang/lint/golint
script:
- go test -v ./...
- test -z $(gofmt -s -l $GO_FILES)
- go test -v -race ./...
- go vet ./...
- golint -set_exit_status $(go list ./...)