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

kolodny / immutability-helper / 196
100%

Build:
DEFAULT BRANCH: master
Ran 13 Sep 2018 02:35AM UTC
Jobs 5
Files 1
Run time 1min
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
196

push

travis-ci

kolodny
Use conditional types to make types significantly safer and more robust. (#108)

* Update typings using conditional types to get significantly safer typings.

See the PR description for more details.

* Add a bunch more tests.

* Fix node-version-checking hack to work properly.

- Coerces the major version into a number to ensure proper comparisons with the literal 4.
- Can actually fail now; previously, it would always return 0 because the ternary was
  parenthesized wrong. The condition would get executed, causing the process to immediately
  exit, and the true/false branches were never hit.
- Invert the conditional check so that it can be chained in the shell command properly.
- Quiet the command so that it doesn't log concerning and misleading error messages in the
  build output.

Additionally, I turned off the filename casing check because it wasn't helping and was
failing the build.

* Reorganize types a bit to localize related things and remove indirection.

* Add tests for union and intersection types.

75 of 81 branches covered (92.59%)

128 of 128 relevant lines covered (100.0%)

159.22 hits per line

Jobs
ID Job ID Ran Files Coverage
1 196.1 13 Sep 2018 02:35AM UTC 0
100.0
Travis Job 196.1
2 196.2 13 Sep 2018 02:36AM UTC 0
100.0
Travis Job 196.2
3 196.3 13 Sep 2018 02:35AM UTC 0
100.0
Travis Job 196.3
4 196.4 13 Sep 2018 02:35AM UTC 0
100.0
Travis Job 196.4
5 196.5 13 Sep 2018 02:35AM UTC 0
100.0
Travis Job 196.5
Source Files on build 196
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #196
  • 744cb886 on github
  • Prev Build on master (#183)
  • Next Build on master (#197)
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