From b364c458adb77c48807622019818b652665378d0 Mon Sep 17 00:00:00 2001 From: Flavio Castelli Date: Mon, 19 Feb 2018 15:20:35 +0100 Subject: Travis: fix error Fix linting error, ensure tests are actually run --- .travis.yml | 1 + libvirt/provider.go | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index 4714805e..0fddc031 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,4 +13,5 @@ script: - make gofmtcheck - make vet - golint -set_exit_status libvirt/ + - make test - goveralls -coverprofile=profile.cov -service=travis-ci diff --git a/libvirt/provider.go b/libvirt/provider.go index cbe9ab95..ea7a250a 100644 --- a/libvirt/provider.go +++ b/libvirt/provider.go @@ -10,6 +10,8 @@ import ( // Global poolMutexKV var poolMutexKV = mutexkv.NewMutexKV() + +// LibvirtClient global variable holding the connection to the libvirtd daemon var LibvirtClient *libvirt.Connect // Provider libvirt -- cgit v1.2.3