2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-27 12:42:49 +00:00

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)"