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

piotrmurach / tty-color / 55
100%

Build:
DEFAULT BRANCH: master
Ran 07 Nov 2020 11:27AM UTC
Jobs 12
Files 4
Run time 6min
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
55

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
```

7 of 7 new or added lines in 3 files covered. (100.0%)

99 of 107 relevant lines covered (92.52%)

24.74 hits per line

Jobs
ID Job ID Ran Files Coverage
1 55.1 (2.0) 07 Nov 2020 11:27AM UTC 0
92.52
Travis Job 55.1
2 55.2 (2.1) 07 Nov 2020 11:28AM UTC 0
92.52
Travis Job 55.2
3 55.3 (2.2) 07 Nov 2020 11:28AM UTC 0
92.52
Travis Job 55.3
4 55.4 (2.3) 07 Nov 2020 11:29AM UTC 0
92.52
Travis Job 55.4
5 55.5 (2.4) 07 Nov 2020 11:29AM UTC 0
92.52
Travis Job 55.5
6 55.6 (2.5) 07 Nov 2020 11:29AM UTC 0
92.52
Travis Job 55.6
7 55.7 (2.6) 07 Nov 2020 11:30AM UTC 0
92.52
Travis Job 55.7
8 55.8 (2.7) 07 Nov 2020 11:30AM UTC 0
92.52
Travis Job 55.8
9 55.9 (ruby-head) 07 Nov 2020 11:30AM UTC 0
92.52
Travis Job 55.9
10 55.10 (jruby-9.2.11.0) 07 Nov 2020 11:31AM UTC 0
0.0
Travis Job 55.10
11 55.11 (jruby-head) 07 Nov 2020 11:33AM UTC 0
88.39
Travis Job 55.11
12 55.12 (truffleruby) 07 Nov 2020 11:34AM UTC 0
91.07
Travis Job 55.12
Source Files on build 55
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #55
  • 1d269b1f on github
  • Prev Build on master (#57)
  • Next Build on master (#58)
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