travis: add test and test-results actions

This commit is contained in:
Ralph Lange
2020-06-07 14:24:18 +02:00
parent be4674e641
commit 6ce24870e5
2 changed files with 4 additions and 1 deletions

View File

@@ -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
View File

@@ -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')