travis fix
This commit is contained in:
parent
8f7b55302f
commit
49d5543fa5
@ -234,7 +234,7 @@ def assertImageMatch(im1, im2, minCorr=None, pxThreshold=50.,
|
|||||||
def saveFailedTest(data, expect, filename):
|
def saveFailedTest(data, expect, filename):
|
||||||
"""Upload failed test images to web server to allow CI test debugging.
|
"""Upload failed test images to web server to allow CI test debugging.
|
||||||
"""
|
"""
|
||||||
commit, error = runSubprocess(['git', 'rev-parse', 'HEAD'])
|
commit = runSubprocess(['git', 'rev-parse', 'HEAD'])
|
||||||
name = filename.split('/')
|
name = filename.split('/')
|
||||||
name.insert(-1, commit.strip())
|
name.insert(-1, commit.strip())
|
||||||
filename = '/'.join(name)
|
filename = '/'.join(name)
|
||||||
|
Loading…
Reference in New Issue
Block a user