Fix a couple references to the module name in the Travis config.
Get rid of duplicated code.