Add some diagnostics code to debug Travis.