Conditionally expect test failures under Travis-CI