Skip test when no credentials
+import os
import unittest
import sys
@@ -18,6 +19,8 @@ class DockerTest(BaseTest):
@unittest.skipUnless(sys.platform.startswith("linux"), "Requires Linux")
def test_docker(self):
+ if not os.getenv("PYPI_PASSWORD", None):
+ return
self.deploy_pip()
ci_manager = MockCIManager()
unique_ref = "zlib/%s" % str(time.time())
