Permalink
Browse files

add tunnel-identifier 😌

  • Loading branch information...
1 parent 4f54b1e commit cd36ac0c95bdbe27591312725ce10d4e124033b2 @harishvc committed Jan 25, 2016
Showing with 2 additions and 8 deletions.
  1. +2 −8 test/travis-testcases.py
@@ -5,20 +5,14 @@
from sauceclient import SauceClient
import os
-
-#Get Travis environment variable
-if os.environ.get('TRAVIS_BUILD_NUMBER') is not None:
- build = os.environ.get('TRAVIS_BUILD_NUMBER')
-else:
- build = ""
-
class AskGitHubTestSuite(unittest.TestCase):
def setUp(self):
#Sauce Labs
self.desired_cap = {
#'platform': "Mac OS X 10.9",
+ 'tunnel-identifier': os.environ.get('TRAVIS_JOB_NUMBER'), #IMPORTANT!!!
'browserName': "chrome",
- 'build': build,
+ 'build': os.environ.get('TRAVIS_BUILD_NUMBER'),
'name': "AskGitHub: Latest from GitHub",
'tags': [ "python","flask","mongo","neo4j","github"],
'username': os.environ.get('SauceLogin'),

0 comments on commit cd36ac0

Please sign in to comment.