Updated travis file
This commit is contained in:
parent
720fe55319
commit
54bfdebcf5
@ -31,8 +31,9 @@ before_script:
|
||||
# - GO_FILES=$(find . -iname '*.go' -type f | grep -v /vendor/) # All the .go files, excluding vendor/
|
||||
- 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
|
||||
- npm install -g typescript
|
||||
- go get github.com/fzipp/gocyclo # Cyclomatic complexity
|
||||
- npm install -g typescript # TypeScript
|
||||
- git clone --depth=1 https://github.com/animenotifier/database ~/.aero/db/arn # Database
|
||||
|
||||
# script always run to completion (set +e). All of these code checks are must haves
|
||||
# in a modern Go project.
|
||||
@ -40,7 +41,7 @@ script:
|
||||
- make deps # Get dependencies. Allow this to fail because components cannot be found.
|
||||
- make all # Build
|
||||
# - 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
|
||||
- go test -v . # Run all the tests
|
||||
# - go test -v -race ./... # Run all the tests with the race detector enabled
|
||||
- go vet ./... # go vet is the official Go static analyzer
|
||||
- megacheck ./... # "go vet on steroids" + linter
|
||||
|
Loading…
Reference in New Issue
Block a user