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

rm-hull / luma.oled / 691
99%

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

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.

226 of 226 relevant lines covered (100.0%)

4.98 hits per line

Jobs
ID Job ID Ran Files Coverage
1 691.1 (TOXENV=py27) 18 Oct 2017 06:00AM UTC 0
100.0
Travis Job 691.1
2 691.2 (TOXENV=py34) 18 Oct 2017 06:00AM UTC 0
100.0
Travis Job 691.2
3 691.3 (TOXENV=py35) 18 Oct 2017 06:00AM UTC 0
100.0
Travis Job 691.3
4 691.4 (TOXENV=py36) 18 Oct 2017 06:00AM UTC 0
100.0
Travis Job 691.4
5 691.5 (TOXENV=py37) 18 Oct 2017 06:00AM UTC 0
100.0
Travis Job 691.5
6 691.6 (TOXENV=qa) 18 Oct 2017 06:01AM UTC 0
Travis Job 691.6
Source Files on build 691
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #691
  • 097a4dc3 on github
  • Prev Build on master (#689)
  • Next Build on master (#692)
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