Skip to content

Commit

Permalink
Add travis build, and a corresponding fix to make it pass (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
bengadbois committed Mar 18, 2017
1 parent 5ebd5e4 commit 783933f
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
20 changes: 20 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
language: go

go:
- 1.8
- tip

install:
- go get ./...
- go get github.com/gordonklaus/ineffassign
- go get github.com/client9/misspell/cmd/misspell

script:
- diff <(echo -n) <(gofmt -s -d .)
- go vet -race ./...
- ineffassign .
- misspell -error .

matrix:
allow_failures:
- go: tip
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Houndify SDK for Go
# Houndify SDK for Go [![Build Status](https://travis-ci.org/soundhound/houndify-sdk-go.svg?branch=master)](https://travis-ci.org/soundhound/houndify-sdk-go)

houndify-sdk-go is the official Houndify SDK for the Go programming language.

Expand Down
2 changes: 1 addition & 1 deletion example.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ func main() {
fmt.Println(serverResponse)
os.Exit(1)
}
fmt.Println(writtenResponse, "\n")
fmt.Print(writtenResponse, "\n\n")
fmt.Println("Enter another text query:")
}
} else {
Expand Down

0 comments on commit 783933f

Please sign in to comment.