Add error logs when tests fail in Travis.