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

rm-hull / luma.oled / 691 / 4
99%
master: 99%

Build:
DEFAULT BRANCH: master
Ran 18 Oct 2017 06:00AM UTC
Files 3
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

18 Oct 2017 05:59AM UTC coverage: 100.0%. Remained the same
TOXENV=py36

push

travis-ci

rm-hull
Fix setup.py to not fail if default encoding is not set to UTF-8 (#168)

`pip install .` in a git checkout failed on my C.H.I.P. with:

    $ pip install .
    Processing /home/chip/luma.oled
        Complete output from command python setup.py egg_info:
        Traceback (most recent call last):
          File "<string>", line 1, in <module>
          File "/tmp/pip-fb3wdsty-build/setup.py", line 15, in <module>
            CONTRIB = read_file("CONTRIBUTING.rst")
          File "/tmp/pip-fb3wdsty-build/setup.py", line 11, in read_file
            return r.read()
          File "/home/chip/.virtualenvs/xair-remote/lib/python3.4/encodings/ascii.py", line 26, in decode
            return codecs.ascii_decode(input, self.errors)[0]
        UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 679: ordinal not in range(128)
        
        ----------------------------------------
    Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-fb3wdsty-build/

This is probably because the `sitecustomize.py` file on this system doesn't set the default encoding in `sys` to `utf-8`, which may be the case on other systems too. So the encoding must be explicitly specified when reading a non-ascii file in text mode.

225 of 225 relevant lines covered (100.0%)

1.0 hits per line

Source Files on job 691.4 (TOXENV=py36)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 691
  • Travis Job 691.4
  • 097a4dc3 on github
  • Prev Job for TOXENV=py36 on master (#689.4)
  • Next Job for TOXENV=py36 on master (#692.4)
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