Skip to content

Commit

Permalink
add travis ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ZHAO committed Aug 9, 2018
1 parent 49fba93 commit a5e659a
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 6 deletions.
21 changes: 21 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
language: go

os:
- linux
- osx

go:
- "1.10"
- master

before_install:
- pip install --user -r tests/pip-req.txt

install:
- go get -u golang.org/x/vgo
- go get -u golang.org/x/tools/cmd/goimports
- go get -u github.com/douban/gobeansdb

script:
- diff <(goimports -d .) <(printf "")
- make test
11 changes: 5 additions & 6 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
module github.com/douban/gobeansproxy

require (
github.com/davecgh/go-spew v0.0.0-20151105211317-5215b55f46b2
github.com/douban/gobeansdb v0.0.0-20180808212533-ff07eecdefd1
github.com/pmezard/go-difflib v1.0.0
github.com/samuel/go-zookeeper v0.0.0-20151102234400-218e9c81c0dd
github.com/stretchr/testify v0.0.0-20160407130123-0744955171b0
gopkg.in/yaml.v2 v2.0.0-20151201162745-f7716cbe52ba
github.com/davecgh/go-spew v1.1.0 // indirect
github.com/douban/gobeansdb v0.0.0-20180809060252-7f57d32485c3
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/stretchr/testify v1.2.2
gopkg.in/yaml.v2 v2.2.1
)

0 comments on commit a5e659a

Please sign in to comment.