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

urwid / urwid / 546
74%

Build:
DEFAULT BRANCH: master
Ran 13 Jun 2020 03:49PM UTC
Jobs 6
Files 40
Run time 2min
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
546

push

travis-ci

tonycpsu
Find nearest approximation for 24-bit colors in 256-color AttrSpecs

Palette entries can only distinguish between "low" and "high" colors, so
there's no way for a user to specify different colors for 88, 256, and
24-bit color screens.  Prior to this change, someone wanting to specify
a 24-bit color but have their applicaiton also work when running in
256-color mode would have to maintain two different palette entries, or
do a color conversion themselves to avoid an AttrSpec error.

With this change, an AttrSpec with colors=256 will instead convert
24-bit foreground and/or background colors to the nearest color from the
256-color palette.  In most cases this is what the user will want, and
if they want to handle 256-color mode separately, they can still do so.
This just makes it easier to support both 24-bit and 8-bit color modes.

7 of 7 new or added lines in 1 file covered. (100.0%)

8762 of 11253 relevant lines covered (77.86%)

4.63 hits per line

Jobs
ID Job ID Ran Files Coverage
1 546.1 (TOXENV=py27) 13 Jun 2020 03:49PM UTC 0
77.09
Travis Job 546.1
2 546.2 (TOXENV=py35) 13 Jun 2020 03:50PM UTC 0
77.41
Travis Job 546.2
3 546.3 (TOXENV=py36) 13 Jun 2020 03:49PM UTC 0
77.45
Travis Job 546.3
4 546.4 (TOXENV=py37) 13 Jun 2020 03:49PM UTC 0
77.44
Travis Job 546.4
5 546.5 (TOXENV=py38) 13 Jun 2020 03:49PM UTC 0
77.5
Travis Job 546.5
6 546.6 (TOXENV=pypy) 13 Jun 2020 03:52PM UTC 0
76.99
Travis Job 546.6
Source Files on build 546
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #546
  • 274cd8b2 on github
  • Prev Build on master (#541)
  • Next Build on master (#548)
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