Skip to content

Commit

Permalink
update ci (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
ariesdevil authored Aug 28, 2018
1 parent a81a89a commit 22815af
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
9 changes: 6 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,17 @@ os:
- osx

go:
- "1.10"
- master
- "1.10.x"
- "1.11.x"

env:
- GO111MODULE=on

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

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

Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ endif
test:
./misc/gobeansdb_server.sh start
go version
vgo test github.com/douban/gobeansproxy/config
vgo test github.com/douban/gobeansproxy/dstore
go test github.com/douban/gobeansproxy/config
go test github.com/douban/gobeansproxy/dstore
./misc/gobeansdb_server.sh stop

template:
Expand All @@ -28,4 +28,4 @@ pytest:install
./tests/run_test.sh

install:
CC=$(COMPILER) vgo install ./
CC=$(COMPILER) go install ./

0 comments on commit 22815af

Please # to comment.