Add testing of the code generator to travis-ci