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

DistrictDataLabs / yellowbrick / 1142
90%

Build:
DEFAULT BRANCH: develop
Ran 23 Apr 2018 01:46PM UTC
Jobs 2
Files 62
Run time 9s
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
1142

push

travis-ci

web-flow
Added AppVeyor configuration and ImageComparison encapsulation (#386)

* Added AppVeyor configuration
* Skip tests on Windows 32 bit architectures.
* use NLTK module downloader
* Added xfail if Windows for image comparisons

AppVeyor is a CI tool for Windows builds. Added CI for Python 2.7 and
3.6 on Windows as well as Miniconda 4.4.10.

If image comparisons were not close on windows, added xfail decorator
to complete the tests on Windows. This is an intermediate solution to getting
yb tests working on Windows, but would like to ensure that we provide
more robust support for multiple operating systems in the future.

Note: also added some os.path.join test fixes instead of relying on
hardcoded paths.

* Encapsulation of ImageComparison for Windows tests

This is sort of a large commit, I wrapped all of the image comparison
logic for assert_images_similar into a single class, ImageComparison.
The ImageComparison object is callable and saves the state of a single
assertion statement (removing it from the TestCase so we can refactor to
using all pytest instead of unittest). During this encapsulation I also
added a lot of os.path handling to ensure that tests worked (hopefully)
on Windows as well as on Posix, continuing the integration with
AppVeyor.

ImageComparison now also raises an assertion error when nothing has been
drawn on the axes object supplied (even if a title or axis labels have
been added). This is further safety for some of our tests that just had
empty images in them.

Updated the ImageComparisonFailure exception to use our own internal
exception instead of matplotlibs and made the exceptions a lot more
readable.

Part of the refactor included a test_meta.py tests, which actually tests
the ImageComparison class and some of our other testing utilities like
the RandomVisualizer.

Updated ROCAUC to raise an exception on no curves instead of drawing an
empty image. Updated test_scatter tests to use the... (continued)

2210 of 2639 relevant lines covered (83.74%)

1.67 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1142.1 23 Apr 2018 01:46PM UTC 0
83.74
Travis Job 1142.1
2 1142.2 23 Apr 2018 01:46PM UTC 0
83.74
Travis Job 1142.2
Source Files on build 1142
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1142
  • 0a2d2b4d on github
  • Prev Build on develop (#1127)
  • Next Build on develop (#1171)
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