CI: Move gofmt check to end of tests

Suggested by @tyll
This commit is contained in:
Alexander Neumann 2015-03-25 16:17:18 +01:00
parent 53e66a4935
commit f51aba1510

View file

@ -11,10 +11,10 @@ install:
- go get -v -t ./...
script:
- gofmt -l *.go */*.go */*/*.go
- test -z "$(gofmt -l *.go */*.go */*/*.go)"
- go build -ldflags "-s" ./...
- go build -ldflags "-s" -o restic ./cmd/restic
- "stat --printf='binary size: %s' restic"
- go test ./...
- ./testsuite.sh
- gofmt -l *.go */*.go */*/*.go
- test -z "$(gofmt -l *.go */*.go */*/*.go)"