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

ansible / tower-cli / 708
64%

Build:
DEFAULT BRANCH: master
Ran 08 Oct 2017 11:56AM UTC
Jobs 5
Files 48
Run time 48s
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
708

Pull #394

travis-ci

web-flow
make combine_files() work with UTF-8 encoded files

setup.py might fail on Python 3 in non-UTF8 environments while parsing
HISTORY.rst or README.rst which are not required to be ASCII-only with:

    UnicodeDecodeError: 'ascii' codec can't decode …

We could also require the files to be plain ASCII, but it sounds not the
right thing to do in the 21st century.

Simple reproducer:

    % LC_ALL=C python3 setup.py
    Traceback (most recent call last):
      File "setup.py", line 126, in <module>
        long_description=combine_files('README.rst', 'HISTORY.rst'),
      File "setup.py", line 112, in combine_files
        file_contents.append(f.read())
      File "/usr/lib/python3.5/encodings/ascii.py", line 26, in decode
        return codecs.ascii_decode(input, self.errors)[0]
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 2132: ordinal not in range(128)
Pull Request #394: make combine_files() work with UTF-8 encoded files

845 of 948 branches covered (89.14%)

2615 of 2906 relevant lines covered (89.99%)

4.49 hits per line

Jobs
ID Job ID Ran Files Coverage
1 708.1 08 Oct 2017 11:56AM UTC 0
89.92
Travis Job 708.1
2 708.2 08 Oct 2017 11:56AM UTC 0
89.78
Travis Job 708.2
3 708.3 08 Oct 2017 11:56AM UTC 0
89.78
Travis Job 708.3
4 708.4 08 Oct 2017 11:56AM UTC 0
89.78
Travis Job 708.4
5 708.5 08 Oct 2017 11:56AM UTC 0
89.78
Travis Job 708.5
Source Files on build 708
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #708
  • Pull Request #394
  • PR Base - master (#703)
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