add cocoapods caching support, see travis-ci/travis-build#258