chore(travis): fix build script for templates