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

zulip / zulip-mobile / 7552
47%

Build:
DEFAULT BRANCH: master
Ran 27 Nov 2018 01:17AM UTC
Jobs 1
Files 364
Run time 20s
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
7552

push

travis-ci

gnprice
flow: Apply `strict-local` everywhere we can: 306/397 files.

This applies all the strictness rules of `@flow strict`, except
for `nonstrict-import`.  So that lets us avoid adding any new uses
of unsafe patterns in these files, even while they import other
files that use unsafe patterns.

To do this, I first added `strict-local` to every file that has
Flow but not `strict` or `strict-local`:

  sed -i 's/@flow/@flow strict-local/' -- \
      $(git grep -l '@flow [^s]' src/)

Then of course there were a lot of errors.  But the great thing
about this feature is that it doesn't interact between files!
So I just identified the files with errors, and reverted the
changes there:

  git checkout @ -- \
      $(yarn flow --show-all-errors \
        |& perl -lane 'print $1 if (/^Error.* (\S+):\d+:\d+$/)' \
        | sort -u)

This left 306 files gaining this protection, after reverting 91 files.

1396 of 2934 branches covered (47.58%)

Branch coverage included in aggregate %.

4815 of 6611 relevant lines covered (72.83%)

35.74 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7552.1 (COVERALLS_REPO_TOKEN=4eYQDtWoBJlDz2QkxoQ2UcnmJFcOB7zkv) 27 Nov 2018 01:17AM UTC 0
65.07
Travis Job 7552.1
Source Files on build 7552
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #7552
  • 6efa7980 on github
  • Prev Build on master (#7549)
  • Next Build on master (#7553)
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