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:
- go build -ldflags "-s" ./...
- go build -ldflags "-s" -o restic ./cmd/restic
- sh -c "cd cmd/restic && gox -verbose -os 'linux darwin'"
- "stat --printf='binary size: %s' restic"
- sh -c "cd cmd/restic && gox -verbose -os 'linux darwin' && ls -al"
- go test -v ./...
- ./testsuite.sh
- sh -c "cd backend && go test -v -test.sftppath /usr/lib/openssh/sftp-server ./..."