travis: add test and test-results actions
This commit is contained in:
@@ -40,6 +40,8 @@ install:
|
||||
|
||||
script:
|
||||
- python cue.py build
|
||||
- python cue.py test
|
||||
- python cue.py test-results
|
||||
|
||||
# If you need to do more during install and build,
|
||||
# add a local directory to your module and do e.g.
|
||||
|
||||
3
cue.py
3
cue.py
@@ -862,7 +862,8 @@ def test_results(args):
|
||||
if has_test_results:
|
||||
call_make(['test-results'], parallel=0, silent=True)
|
||||
else:
|
||||
print("{0}Base {1} does not implement 'test-results' target{2}".format(ANSI_YELLOW, setup['BASE'], ANSI_RESET))
|
||||
print("{0}Base in {1} does not implement 'test-results' target{2}"
|
||||
.format(ANSI_YELLOW, places['EPICS_BASE'], ANSI_RESET))
|
||||
fold_end('test.results', 'Sum up main module test results')
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user