Skip to content

Commit 22815af

Browse files
author
ZHAO Yijun
authored
update ci (#3)
1 parent a81a89a commit 22815af

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

.travis.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,17 @@ os:
55
- osx
66

77
go:
8-
- "1.10"
9-
- master
8+
- "1.10.x"
9+
- "1.11.x"
10+
11+
env:
12+
- GO111MODULE=on
1013

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

1417
install:
15-
- go get -u golang.org/x/vgo
18+
- go get -t -v ./...
1619
- go get -u golang.org/x/tools/cmd/goimports
1720
- go get -u github.com/douban/gobeansdb
1821

Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ endif
1616
test:
1717
./misc/gobeansdb_server.sh start
1818
go version
19-
vgo test github.com/douban/gobeansproxy/config
20-
vgo test github.com/douban/gobeansproxy/dstore
19+
go test github.com/douban/gobeansproxy/config
20+
go test github.com/douban/gobeansproxy/dstore
2121
./misc/gobeansdb_server.sh stop
2222

2323
template:
@@ -28,4 +28,4 @@ pytest:install
2828
./tests/run_test.sh
2929

3030
install:
31-
CC=$(COMPILER) vgo install ./
31+
CC=$(COMPILER) go install ./

0 commit comments

Comments
 (0)