Merge pull request #36 from dlorenc/travis

Add gofmt check to travis.
pull/37/head
dlorenc 2016-05-01 20:24:28 -07:00
commit 7e22c9b94f
2 changed files with 3 additions and 2 deletions

View File

@ -6,5 +6,6 @@ go:
install:
- echo "Don't run anything."
# Don't test vendored code.
# Check non-vendored code for formatting.
script: diff -u <(echo -n) <(gofmt -l -s . | grep -v vendor)
script: ./test.sh

View File

@ -31,7 +31,7 @@ var dirs = [...]string{
var RootCmd = &cobra.Command{
Use: "minikube",
Short: "Minikube is a tool for managing local Kubernetes clusters.",
Long: `Minikube is a CLI tool that provisions and manages single-node Kubernetes clusters optimized for development workflows.`,
Long: `Minikube is a CLI tool that provisions and manages single-node Kubernetes clusters optimized for development workflows.`,
PersistentPreRun: func(cmd *cobra.Command, args []string) {
for _, path := range dirs {
if err := os.MkdirAll(path, 0777); err != nil {