mirror of
https://github.com/restic/restic.git
synced 2026-10-12 04:57:12 +00:00
Fix travis build
This commit is contained in:
1 parent
30ce48dc32
commit
e1acade174
1 file changed
+2
-1
+2
-1
@@ -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
|
||||
Reference in new issue
Block a user