Add custom travis script directive to avoid build errors