better diagnostics on mock_travis.sh