Run gui environment in travis

Avoids some qt warnings when running tests