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

brandingbrand / flagship / 2660 / 4
62%
master: 62%

Build:
DEFAULT BRANCH: master
Ran 20 May 2019 06:19PM UTC
Files 68
Run time 4s
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

20 May 2019 06:15PM UTC coverage: 36.047% (-1.8%) from 37.801%
2660.4

push

travis-ci

Cauldrath
feat(flagship): refactor module scripts and remove node-suspect

This makes the following changes to the module script system:
- Adds ios and android directories under the modules directory in flagship
- Updated the module system to support two lifecycle functions per module: preLink and postLink
- Updated existing module scripts to replicate the same behavior as before this change: existing ios scripts run as preLink, and existing android scripts run as postLink

The reason for this change is to support updating the react-native-codepush init process. Previously, code-push required its keys to be provided via CLI prompts during init, which required us to implement node-suspect to handle CLI interaction. node-suspect is buggy itself and this solution is hacky.

react-native-codepush recently added support for providing keys in strings.xml (Android) and Info.plist (iOS). However, this requires these files to be modified before react-native link runs, and our implementation of Android module scripts had them run after link. As such, the previously mentioned changes were required in order to allow having an Android script run before rn link.

This shouldn't break Flagship apps using react-native-codepush as it still pulls keys from the same configuration.

495 of 1585 branches covered (31.23%)

Branch coverage included in aggregate %.

851 of 2149 relevant lines covered (39.6%)

5.39 hits per line

Source Files on job 2660.4
  • Tree
  • List 0
  • Changed 42
  • Source Changed 0
  • Coverage Changed 42
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 2409
  • Travis Job 2660.4
  • c5bf0f8b on github
  • Prev Job for on master (#2643.4)
  • Next Job for on master (#2677.4)
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