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

os-autoinst / openQA / 3667
100%

Build:
DEFAULT BRANCH: master
Ran 11 Nov 2016 06:05AM UTC
Jobs 1
Files 102
Run time 5s
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
3667

push

travis-ci

coolo
API jobs list: add params 'before' and 'after' (#996)

I want to do something like 'find the job before job X that has
the same scenario' - this is something we do internally in a
few places, e.g. the 'previous results' page in the web UI. But
it's very difficult to do via the API, because you really can't
say "I only want jobs with IDs lower than X".

It's easy enough to add, though! So add 'before' and 'after'
params for the API method and also for the `complex_query`
method which backs it. While I'm at it, add `page` to the args
for the API method too (it's pretty useless to support `limit`
without `page`, and `complex_query` already handles it) and
cover all these bits in the tests, plus test the variant forms
for specifying multiple `ids` args (since I wrote that a while
back but it's not tested yet).

5 of 5 new or added lines in 2 files covered. (100.0%)

4652 of 6383 relevant lines covered (72.88%)

118.47 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3667.1 11 Nov 2016 06:05AM UTC 0
72.88
Travis Job 3667.1
Source Files on build 3667
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3667
  • 8b49bfc9 on github
  • Prev Build on master (#3659)
  • Next Build on master (#3676)
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