Skip to content
Permalink
Browse files

Add: add .travis

  • Loading branch information...
chenjiandongx committed Feb 10, 2019
1 parent 91bf6ff commit b2c5a7151f58c75a04878f49012428abb4f50642
Showing with 14 additions and 0 deletions.
  1. +14 −0 .travis.yml
@@ -0,0 +1,14 @@
sudo: false
language: go
go:
- 1.9.x
- 1.10.x
- 1.11.x
install:
- # Do nothing. This is needed to prevent default install action
- # "go get -t -v ./..." from happening here (we want it to happen inside script step).
script:
- go get -t -v ./...
- diff -u <(echo -n) <(gofmt -d -s .)
- go tool vet .
- go test -v -race ./...

0 comments on commit b2c5a71

Please sign in to comment.
You can’t perform that action at this time.