another try for saucelabs

This commit is contained in:
Raphael Michel
2014-10-19 00:00:55 +02:00
parent ab412fb932
commit c604d45488

View File

@@ -64,7 +64,7 @@ class BrowserTest(LiveServerTestCase):
self.tearDownSauce()
def setUpSauce(self):
if 'tunnel-identifier' in os.environ:
if 'TRAVIS_JOB_NUMBER' in os.environ:
self.desired_capabilities['tunnel-identifier'] = \
os.environ['TRAVIS_JOB_NUMBER']
self.desired_capabilities['build'] = os.environ['TRAVIS_BUILD_NUMBER']