Fix opcodes in generator; add Travis-CI