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

piotrmurach / tty-color / 55 / 3
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 07 Nov 2020 11:28AM UTC
Files 4
Run time 0s
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

31 Oct 2020 04:55PM UTC coverage: 92.523%. Remained the same
2.2

push

travis-ci

web-flow
Add 24bit color aka "direct color" aka "truecolor"

Also added several TERMs to Mode as supporting 256 colors.

This also adds 256 color TERMs to Mode::TERM_256 and used the mode
Regexps inside the support Regexp. This required swapping the require
order, because Support now depends on those Regexps from Mode.

I matched this up with my local laptop's terminfo DB (Ubuntu 20.04, with
ncurses 6.2.20200212, and a bunch of extra terminal packages installed).
I did make "ansi" support more conservative and added "^" to a few of
the other support cases (tput is still a fallback), but everything else
became more liberal.

To query terminfo, I ran the following bash script and several like it:

```bash
for term in $(toe -a | awk '{ print $1 }' | sort -u | xargs); do
    printf "%3d %s\n" "$(TERM="$term" tput colors)" "$term"
done | sort -n
```

99 of 107 relevant lines covered (92.52%)

2.26 hits per line

Source Files on job 55.3 (2.2)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 56
  • Travis Job 55.3
  • 1d269b1f on github
  • Prev Job for 2.2 on master (#57.3)
  • Next Job for 2.2 on master (#58.3)
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