Fixed build errors on Mac OS X

Hello.

I've fixed build errors with [tidyp](http://tidyp.com/) on Mac OS X, added integration with Travis CI and remove dependency on gocheck.