mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
tests: expect Docker on AppVeyor
Prepare to run docker on AppVeyor Windows environment
This commit is contained in:
@@ -16,6 +16,10 @@ func DockerIsConnected(t *testing.T) bool {
|
||||
return runtime.GOOS == "linux"
|
||||
}
|
||||
|
||||
if testutil.IsAppVeyor() {
|
||||
return runtime.GOOS == "windows"
|
||||
}
|
||||
|
||||
client, err := docker.NewClientFromEnv()
|
||||
if err != nil {
|
||||
return false
|
||||
|
||||
Reference in New Issue
Block a user