Merge pull request #978 from restic/add-backblaze-backend

Add Backblaze B2 backend
This commit is contained in:
Alexander Neumann 2017-06-03 14:54:04 +02:00
commit 40a61b82ce
28 changed files with 6547 additions and 0 deletions

View file

@ -171,6 +171,13 @@ func (env *TravisEnvironment) RunTests() error {
msg("Swift service not available\n")
}
// if the test b2 repository is available, make sure that the test is not skipped
if os.Getenv("RESTIC_TEST_B2_REPOSITORY") != "" {
ensureTests = append(ensureTests, "restic/backend/b2.TestBackendB2")
} else {
msg("B2 repository not available\n")
}
env.env["RESTIC_TEST_DISALLOW_SKIP"] = strings.Join(ensureTests, ",")
if *runCrossCompile {