Skip to content

Commit

Permalink
Add script to run all checks
Browse files Browse the repository at this point in the history
  • Loading branch information
thcyron committed Dec 13, 2017
1 parent 277c377 commit e3ca4bb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 1 addition & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,4 @@ go:
before_script:
- go get github.com/golang/lint/golint
script:
- diff -u <(echo -n) <(gofmt -d -s .)
- go vet ./...
- golint -set_exit_status ./...
- go test ./...
- script/checkall.bash
6 changes: 6 additions & 0 deletions script/checkall.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash -e
cd hcloud
diff -u <(echo -n) <(gofmt -d -s .)
go vet ./...
golint -set_exit_status ./...
go test ./...

0 comments on commit e3ca4bb

Please sign in to comment.