Add generate media to travis