allow tests to run on any branch
This commit is contained in:
parent
3c6ef2dcc9
commit
5ec3cebcdf
1 changed files with 3 additions and 3 deletions
|
@ -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',
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue