diff --git a/.travis.yml b/.travis.yml index 154da5495..6416e34f0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,7 +15,7 @@ script: - go build -ldflags "-s" -o restic ./cmd/restic - "stat --printf='binary size: %s' restic" - go test -v ./... - - cd backend && go test -v -test.sftppath /usr/lib/openssh/sftp-server ./... - ./testsuite.sh + - sh -c "cd backend && go test -v -test.sftppath /usr/lib/openssh/sftp-server ./..." - gofmt -l *.go */*.go */*/*.go - test -z "$(gofmt -l *.go */*.go */*/*.go)"