.travis.yml: Try to support additional builds.

Add support for building with and without libglib.