update travis script for cocoapods