From 616170ed2e4949246a15abe329f533c6eab268c2 Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Sat, 28 Mar 2015 15:53:33 +0100 Subject: [PATCH] Run sftp integration test in a subshell --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)"