add build tags for tests to avoid failures in travis

This commit is contained in:
smallnest
2019-10-21 11:12:43 +08:00
parent 8c58dea138
commit 8bf36d3474
3 changed files with 6 additions and 0 deletions

View File

@@ -1,3 +1,5 @@
// +build consul
package serverplugin package serverplugin
import ( import (

View File

@@ -1,3 +1,5 @@
// +build etcd
package serverplugin package serverplugin
import ( import (

View File

@@ -1,3 +1,5 @@
// +build zookeeper
package serverplugin package serverplugin
import ( import (