There seems to be a logical error in the `.travis.yml`, the presence of a .pc file for libgit2 is tested [here](https://github.com/geany/geany-plugins/blob/4ddf2e7707d3e0305a3e463d4574e0f7...) but that doesn't check the version, it just accepts any version.
But that doesn't seem to be the issue here since it doesn't seem to execute the echo in the `then` clause or the build in the `else` clause, weird.