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

dls-controls / scanpointgenerator / 455
97%

Build:
DEFAULT BRANCH: master
Ran 17 Mar 2017 01:44PM UTC
Jobs 4
Files 28
Run time 7min
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
455

Pull #37

travis-ci

web-flow
Fix coverage support for Jython Travis build

"nosetests --with-coverage" uses coverage.py, which has two phases:

 - The first (run) phase runs the code and records the lines hit.
   This phase *works* when run with Jython.

 - The second (report) phase analyses the source code to determine all
   the possible paths, allowing the "miss" count to be built.
   This phase *fails* when run with Jython.

Nose does not allow omission of the second step, so our Jython tests
will always "fail" with the last error being the failure of the code
coverage report step. We can absorb this error and analyse the test
output ourselves (grep for non-zero Failures/Errors in xunit xml
output), leaving a suitable return code in "$?".

The "python version" of coveralls can then be run and will use the
output of the Jython coverage.py run.
Pull Request #37: Jython

1040 of 1050 relevant lines covered (99.05%)

3.94 hits per line

Jobs
ID Job ID Ran Files Coverage
2 455.2 17 Mar 2017 01:46PM UTC 0
98.95
Travis Job 455.2
3 455.3 17 Mar 2017 01:44PM UTC 0
98.95
Travis Job 455.3
4 455.4 17 Mar 2017 01:44PM UTC 0
98.95
Travis Job 455.4
5 455.5 (JYTHON=true) 17 Mar 2017 01:51PM UTC 0
97.33
Travis Job 455.5
Source Files on build 455
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #455
  • Pull Request #37
  • PR Base - master (#453)
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

© 2025 Coveralls, Inc