print the logs of tests in travis after build failure