From e1acade174c4765638b34f2df0ee511d8039dde9 Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Sun, 22 Mar 2015 13:09:14 +0100 Subject: [PATCH] Fix travis build --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index e448ac2bf..9e9a36402 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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