Add Travis CI configuration.

Make sure libxml2-dev is installed before compiling the extension.