diff --git a/.travis.yml b/.travis.yml index 0d4a019d..6c6f2246 100644 --- a/.travis.yml +++ b/.travis.yml @@ -34,11 +34,11 @@ before_script: - go get github.com/golang/lint/golint # Linter - go get honnef.co/go/tools/cmd/megacheck # Badass static analyzer/linter - go get github.com/fzipp/gocyclo - - go get -t ./... # Get dependencies # script always run to completion (set +e). All of these code checks are must haves # in a modern Go project. script: + - go get -t ./... # Get dependencies. Allow this to fail because components cannot be found. - make all - test -z $(gofmt -s -l $GO_FILES) # Fail if a .go file hasn't been formatted with gofmt # - go test -v . # Run all the tests