Made use of obvious-ci.
Merge pull request #28 from pelson/obviousci

Made use of obvious-ci.
All the changes needed to build on OSX.
Enabled linux and osx testing on travis.
Fixed failing geos build on linux.