Fix travis build

This commit is contained in:
Alexander Neumann 2015-03-22 13:09:14 +01:00
parent 30ce48dc32
commit e1acade174
1 changed files with 2 additions and 1 deletions

View File

@ -14,6 +14,7 @@ script:
- gofmt -l *.go */*.go */*/*.go
- test -z "$(gofmt -l *.go */*.go */*/*.go)"
- go build -ldflags "-s" ./...
- echo "binary size: $(stat --printf='%s' cmd/restic/restic)"
- go build -ldflags "-s" -o restic ./cmd/restic
- echo "binary size: $(stat --printf='%s' restic)"
- go test ./...
- ./testsuite.sh