2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-22 19:08:55 +00:00

Add '-s' ldflag and output size to travis tests

This commit is contained in:
Alexander Neumann 2015-03-22 12:58:32 +01:00
parent aca0692ee6
commit 30ce48dc32

View File

@ -13,6 +13,7 @@ install:
script:
- gofmt -l *.go */*.go */*/*.go
- test -z "$(gofmt -l *.go */*.go */*/*.go)"
- go build ./...
- go build -ldflags "-s" ./...
- echo "binary size: $(stat --printf='%s' cmd/restic/restic)"
- go test ./...
- ./testsuite.sh