• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

optimizely / swift-sdk / 2275
94%

Build:
DEFAULT BRANCH: master
Ran 17 Mar 2021 10:34PM UTC
Jobs 3
Files 26
Run time 53s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
2275

cron

travis-ci-com

web-flow
Allow supplying data file handler. (#384)

As consumers of the SDK we have a need to support custom reading and writing of the data files within Optimizely. This PR makes changes to allow for this customization by supporting the injection of an OPTDatafileHandler that can implement these custom behaviors.

There are three main areas of this PR:

- Allow for injecting a OPTDatafileHandler during the construction of the OptimizelyClient. If not supplied then the standard DefaultDatafileHandler is utilized.
- Open the existing implementation of DefaultDatafileHandler so that it can be extended by consumers of the SDK and injected via OptimizelyClient construction.
- Open the existing implementation of DataStoreFile so that it can be easily extended to support custom reading and writing of Data, and utilized in extended versions of OPTDatafileHandler/ DefaultDatafileHandler.

1395 of 1540 relevant lines covered (90.58%)

387.79 hits per line

Jobs
ID Job ID Ran Files Coverage
5 2275.5 (SCHEME=OptimizelySwiftSDK-iOS TEST_SDK=iphonesimulator PLATFORM='iOS Simulator' OS=13.3 NAME='iPhone 11') 17 Mar 2021 10:34PM UTC 0
83.66
Travis Job 2275.5
6 2275.6 (SCHEME=OptimizelySwiftSDK-iOS TEST_SDK=iphonesimulator PLATFORM='iOS Simulator' OS=11.4 NAME='iPhone 7 Plus') 17 Mar 2021 10:34PM UTC 0
83.66
Travis Job 2275.6
7 2275.7 (SCHEME=OptimizelySwiftSDK-iOS TEST_SDK=iphonesimulator PLATFORM='iOS Simulator' OS=11.1 NAME='iPad Air') 17 Mar 2021 10:34PM UTC 0
83.66
Travis Job 2275.7
Source Files on build 2275
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #2275
  • 3b3924ca on github
  • Prev Build on master (#2274)
  • Next Build on master (#2278)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc