mirror of
https://github.com/octoleo/restic.git
synced 2025-01-09 17:33:56 +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:
|
script:
|
||||||
- gofmt -l *.go */*.go */*/*.go
|
- gofmt -l *.go */*.go */*/*.go
|
||||||
- test -z "$(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 ./...
|
- go test ./...
|
||||||
- ./testsuite.sh
|
- ./testsuite.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user