mirror of
https://github.com/restic/restic.git
synced 2026-10-13 05:27:13 +00:00
tests: Ensure that backend tests cannot be skipped on Travis
This commit is contained in:
1 parent
5c6ec78789
commit
ee68f9298b
5 files changed
+60
-12
No files matched your search
@@ -150,6 +150,15 @@ func (env *TravisEnvironment) RunTests() error {
|
||||
|
||||
env.env["GOPATH"] = cwd + ":" + filepath.Join(cwd, "vendor")
|
||||
|
||||
// ensure that the following tests cannot be silently skipped on Travis
|
||||
ensureTests := []string{
|
||||
"restic/backend/rest.TestBackendREST",
|
||||
"restic/backend/sftp.TestBackendSFTP",
|
||||
"restic/backend/s3.TestBackendMinio",
|
||||
"restic/backend/s3.TestBackendS3",
|
||||
}
|
||||
env.env["RESTIC_TEST_DISALLOW_SKIP"] = strings.Join(ensureTests, ",")
|
||||
|
||||
if *runCrossCompile {
|
||||
// compile for all target architectures with tags
|
||||
for _, tags := range []string{"release", "debug"} {
|
||||
|
||||
Reference in new issue
Block a user