Use travis to test against MySQL and PostgreSQL as well

This will hopefully allow to spot issues like issue #319.