gnucash maint: Have Travis print out build logs in case of test failures

Geert Janssens gjanssens at code.gnucash.org
Sat Sep 2 10:02:18 EDT 2017


Updated	 via  https://github.com/Gnucash/gnucash/commit/1e7c721e (commit)
	from  https://github.com/Gnucash/gnucash/commit/0e0e4d29 (commit)



commit 1e7c721e8d2f61d1b90c5400eb9bfe042544a960
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Sat Sep 2 12:35:28 2017 +0200

    Have Travis print out build logs in case of test failures
    
    To get the after_failure line work, I had to move the inline
    build script to a separate script (util/travis-script.sh)
    
    The second script (util/travis-after-failure.sh) will output
    LastTest.log for cmake based builds and all files named
    test*.log for an autotools based build.
    
    Note: this commit also comes with a delibarate test failure
    to illustrate the Travis behaviour. It will be removed in the
    next commit.



Summary of changes:
 .travis.yml                                | 30 ++----------------------------
 src/import-export/test/test-import-parse.c |  2 +-
 util/travis-after-failure.sh               | 19 +++++++++++++++++++
 util/travis-script.sh                      | 30 ++++++++++++++++++++++++++++++
 4 files changed, 52 insertions(+), 29 deletions(-)
 create mode 100755 util/travis-after-failure.sh
 create mode 100755 util/travis-script.sh



More information about the gnucash-patches mailing list