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

brandingbrand / flagship / 2660
62%

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

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

Jobs
ID Job ID Ran Files Coverage
4 2660.4 20 May 2019 06:19PM UTC 0
36.05
Travis Job 2660.4
Source Files on build 2660
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2660
  • c5bf0f8b on github
  • Prev Build on master (#2643)
  • Next Build on master (#2677)
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