Fix an old error function call that snuck in
Add a travis script

Add a build script and ask Travis to run it. It downloads the tip of
libgit2's dev branch and tests against that.