test: test gcp only when env var DVC_TEST_GCP=true

Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
Ruslan Kuprieiev
2018-01-16 03:21:57 +02:00
parent e895262435
commit 39328620f8
+1 -1
View File
@@ -96,7 +96,7 @@ class TestDataCloudGCP(TestDataCloudBase):
TEST_REPO_GCP_PROJECT='dvc-project'
def _should_test(self):
if os.getenv("TRAVIS") == "true" or os.getenv("APPVEYOR") == "True":
if os.getenv("TRAVIS") == "true" or os.getenv("APPVEYOR") == "True" or os.getenv("DVC_TEST_GCP") != "true":
return False
return True