2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-23 11:28:54 +00:00

Add 'ls' on the binary to see the file sizes

This commit is contained in:
Alexander Neumann 2015-04-26 12:35:22 +02:00
parent 94ecdc6e84
commit 9a4155d7aa

View File

@ -19,8 +19,7 @@ install:
script: script:
- go build -ldflags "-s" ./... - go build -ldflags "-s" ./...
- go build -ldflags "-s" -o restic ./cmd/restic - go build -ldflags "-s" -o restic ./cmd/restic
- sh -c "cd cmd/restic && gox -verbose -os 'linux darwin'" - sh -c "cd cmd/restic && gox -verbose -os 'linux darwin' && ls -al"
- "stat --printf='binary size: %s' restic"
- go test -v ./... - go test -v ./...
- ./testsuite.sh - ./testsuite.sh
- sh -c "cd backend && go test -v -test.sftppath /usr/lib/openssh/sftp-server ./..." - sh -c "cd backend && go test -v -test.sftppath /usr/lib/openssh/sftp-server ./..."