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

optimizely / javascript-sdk / 2074
78%

Build:
DEFAULT BRANCH: master
Ran 31 Jul 2020 10:12PM UTC
Jobs 7
Files 63
Run time 12min
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
2074

push

travis-ci

web-flow
build: Introduce TypeScript into optimizely-sdk build (#504)

Summary:

Add TypeScript into the build for optimizely-sdk. The goal is to enable future development with TS and incremental conversion of modules from JS to TS.

- Uses the same TS version as subpackages (datafile-manager, event-processor, etc.)
- Uses rollup-plugin-typescript2 to add TS compilation step to rollup build
- tsconfig.json for optimizely-sdk is based on the share root tsconfig.json, with appropriate overrides
- Lint implementation is updated for TS compatibility, based on React SDK's
- Mocha test suite is updated for TS compatibility: types installed, command updated to use ts-node, based on official - Mocha TS example
- Configuration for Karma-based tests is updated to use ts-loader
- Converted string_value_validator and several other smaller modules as examples and litmus tests of the build changes

Test plan:

Manual testing using local build and linked Node app
Existing tests must pass - there are no intended functional changes
Inspected and compared build output from master branch, and this branch

Co-authored-by: Polina Nguen <43302774+yavorona@users.noreply.github.com>

698 of 798 branches covered (87.47%)

Branch coverage included in aggregate %.

7183 of 7346 relevant lines covered (97.78%)

359.02 hits per line

Jobs
ID Job ID Ran Files Coverage
2 2074.2 (BROWSER_STACK_USERNAME=[secure] BROWSER_STACK_ACCESS_KEY=[secure] SDK=javascript SDK_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH) 31 Jul 2020 10:12PM UTC 0
96.77
Travis Job 2074.2
5 2074.5 (BROWSER_STACK_USERNAME=[secure] BROWSER_STACK_ACCESS_KEY=[secure] SDK=javascript SDK_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH) 31 Jul 2020 10:21PM UTC 0
96.77
Travis Job 2074.5
6 2074.6 (BROWSER_STACK_USERNAME=[secure] BROWSER_STACK_ACCESS_KEY=[secure] SDK=javascript SDK_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH) 31 Jul 2020 10:23PM UTC 0
96.77
Travis Job 2074.6
7 2074.7 (BROWSER_STACK_USERNAME=[secure] BROWSER_STACK_ACCESS_KEY=[secure] SDK=javascript SDK_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH) 31 Jul 2020 10:23PM UTC 0
96.77
Travis Job 2074.7
8 2074.8 (BROWSER_STACK_USERNAME=[secure] BROWSER_STACK_ACCESS_KEY=[secure] SDK=javascript SDK_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH) 31 Jul 2020 10:23PM UTC 0
96.77
Travis Job 2074.8
9 2074.9 (BROWSER_STACK_USERNAME=[secure] BROWSER_STACK_ACCESS_KEY=[secure] SDK=javascript SDK_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH) 31 Jul 2020 10:24PM UTC 0
96.77
Travis Job 2074.9
10 2074.10 (BROWSER_STACK_USERNAME=[secure] BROWSER_STACK_ACCESS_KEY=[secure] SDK=javascript SDK_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH) 31 Jul 2020 10:24PM UTC 0
96.77
Travis Job 2074.10
Source Files on build 2074
  • Tree
  • List 63
  • Changed 55
  • Source Changed 9
  • Coverage Changed 55
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Travis Build #2074
  • d00751bf on github
  • Prev Build on master (#2072)
  • Next Build on master (#2078)
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