mirror of
https://github.com/restic/restic.git
synced 2026-10-19 07:58:11 +00:00
Add '-s' ldflag and output size to travis tests
This commit is contained in:
1 parent
aca0692ee6
commit
30ce48dc32
1 file changed
+2
-1
+2
-1
@@ -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
|
||||
Reference in new issue
Block a user