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

optimizely / javascript-sdk / 435
78%

Build:
DEFAULT BRANCH: master
Ran 19 Oct 2018 09:00PM UTC
Jobs 5
Files 46
Run time 5min
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
435

push

travis-ci

web-flow
feat (audiences): Audience combinations (#175)

This adds support for audience combinations on experiments. If `experiment.audienceConditions` is present, it will be used as a condition tree where the leaf conditions are audience Ids.

- Condition tree evaluation and custom attribute condition evaluation are split into separate modules. Condition tree evaluation accepts a leaf evaluator function argument.

- The audience evaluator uses the condition tree evaluator on both the experiment audience conditions and the individual audience conditions.

- Project config methods are updated to support audience combinations.

`getExperimentAudienceConditions` returns `audienceConditions` if it exists, otherwise it falls back to `audienceIds`.

- The audience evaluator treats conditions trees and flat lists of audience ids (the old format) the same way, because a flat list of audience ids is a valid condition tree with an implicit OR condition.

466 of 505 branches covered (92.28%)

Branch coverage included in aggregate %.

4481 of 4573 relevant lines covered (97.99%)

85.53 hits per line

Jobs
ID Job ID Ran Files Coverage
1 435.1 19 Oct 2018 09:01PM UTC 0
97.42
Travis Job 435.1
2 435.2 19 Oct 2018 09:02PM UTC 0
97.42
Travis Job 435.2
3 435.3 19 Oct 2018 09:00PM UTC 0
97.42
Travis Job 435.3
4 435.4 19 Oct 2018 09:06PM UTC 0
97.42
Travis Job 435.4
6 435.6 19 Oct 2018 09:02PM UTC 0
97.42
Travis Job 435.6
Source Files on build 435
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #435
  • cb9d5008 on github
  • Prev Build on master (#429)
  • Next Build on master (#438)
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

© 2025 Coveralls, Inc