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

project-rig / rig / 665
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: rename_keyspace
DEFAULT BRANCH: master
Ran 28 Apr 2015 09:34AM UTC
Jobs 3
Files 148
Run time 3min
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
665

push

travis-ci

mossblaser
Make test-suite catch packaging errors.

This commit applies some relatively major file-tree restructuring to enable
pytest to run tests against an installed version of the Rig library. As a result
of this installation becomes a necessary step in testing and thus a bad
setup.py can cause tests to fail.

* Remove __init__.py from test directories.

  As per py.test's recommendations (and previously brought up in #96).

  This is the first step towards making the test suite run against an
  *installed* version of the software rather than the copy in which the test
  code runs. As a bonus, the test code nolonger gets included in the packaged
  software.

* Move tests into own directory.

  This makes the test suite run against the installed version rather than the
  version they happen to be sitting in the same module as.

* Make travis and tox install rig prior to testing.

  This tests the setup is actually working.

* Run py.test in multiple stages to work-around pytest path issues

  In order to cope with pytest's modification of the python module path, the
  test suite and doctests must be run separately for system-wide installations
  of the library-under-test...

  Additionally, the test-dependencies have been removed from setup.py since
  there is no value to them being there.

* Points test suite coverage checks at the installed version of rig

  This process is somewhat ugly but it does work and considering this allows the
  packaging to be tested too, this seems like a good thing overall.

10190 of 10190 relevant lines covered (100.0%)

1.72 hits per line

Jobs
ID Job ID Ran Files Coverage
1 665.1 28 Apr 2015 09:34AM UTC 0
100.0
Travis Job 665.1
2 665.2 28 Apr 2015 09:36AM UTC 0
100.0
Travis Job 665.2
3 665.3 28 Apr 2015 09:37AM UTC 0
100.0
Travis Job 665.3
Source Files on build 665
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #665
  • fc9fde69 on github
  • Prev Build on fix-#116 (#662)
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