I'm fine with both (opt or debug) build. Mayb @jwiegley has an opinion which may be better suited to run the tests in Travis CI.

I'm glad I can contribute to improve ledger : )