allow tests to run on any branch

This commit is contained in:
Alan Hamlett 2015-08-12 14:36:35 -07:00
parent 3c6ef2dcc9
commit 5ec3cebcdf
1 changed files with 3 additions and 3 deletions

View File

@ -122,7 +122,7 @@ class BaseTestCase(utils.TestCase):
'lines': 2,
'entity': os.path.abspath(entity),
'project': os.path.basename(os.path.abspath('.')),
'branch': os.environ.get('TRAVIS_COMMIT', 'master'),
'branch': os.environ.get('TRAVIS_COMMIT', ANY),
'time': float(now),
'type': 'file',
}
@ -156,7 +156,7 @@ class BaseTestCase(utils.TestCase):
'lines': 2,
'entity': 'HIDDEN.txt',
'project': os.path.basename(os.path.abspath('.')),
'branch': os.environ.get('TRAVIS_COMMIT', 'master'),
'branch': os.environ.get('TRAVIS_COMMIT', ANY),
'time': float(now),
'type': 'file',
}
@ -190,7 +190,7 @@ class BaseTestCase(utils.TestCase):
'lines': 2,
'entity': 'HIDDEN.txt',
'project': os.path.basename(os.path.abspath('.')),
'branch': os.environ.get('TRAVIS_COMMIT', 'master'),
'branch': os.environ.get('TRAVIS_COMMIT', ANY),
'time': float(now),
'type': 'file',
}