cache CacheServiceProvider configuration, add CacheFactory testcase, fix .travis.yml