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:
parent
aca0692ee6
commit
30ce48dc32
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user