Skip to content
This repository was archived by the owner on Mar 22, 2018. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .travis.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Setting "sudo" to false forces Travis-CI to use its
# container-based build infrastructure, which has shorter
# queue times.
sudo: false

# Use the newer Travis-CI build templates based on the
# Debian Linux distribution "Trusty" release.
dist: trusty

# Select Go as the language used to run the build.
language: go
go: 1.9.x
go_import_path: github.com/dims/openstack-cloud-controller-manager

install:
- make

script:
- go vet github.com/dims/openstack-cloud-controller-manager/...
- go fmt github.com/dims/openstack-cloud-controller-manager/...
- go test -v github.com/dims/openstack-cloud-controller-manager/... -cover
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ import (
_ "k8s.io/kubernetes/pkg/version/prometheus" // for version metric registration
"k8s.io/kubernetes/pkg/version/verflag"

"github.com/spf13/pflag"
"github.com/golang/glog"
"github.com/spf13/pflag"
)

var version string
Expand All @@ -62,4 +62,4 @@ func main() {
fmt.Fprintf(os.Stderr, "%v\n", err)
os.Exit(1)
}
}
}