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

laws-africa / indigo / 5214
84%
master: 84%

Build:
Build:
LAST BUILD BRANCH: squash
DEFAULT BRANCH: master
Ran 04 May 2020 10:50AM UTC
Jobs 1
Files 312
Run time 20s
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
5214

push

travis-ci-com

longhotsummer
Use object managers to reduce the number of DB queries for workflow page

This more than halves the number of db queries on the page (in my tests,
with a handful of tasks, it goes from over 100 to 40-odd), and should
make it much faster to load.

1. updated the default select_related for tasks to include the country
and locality details

2. place.tasks and workflow.tasks don't use the Task's object manager,
and so the default selected_related aren't used; change to using
Task.objects... (I really need to remember this!)

3. limit 'possible tasks' to those with the matching country and
locality

8235 of 9768 relevant lines covered (84.31%)

0.84 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5214.1 (DATABASE_URL=postgres://postgres:@localhost:5432/indigo_test) 04 May 2020 10:50AM UTC 0
84.31
Travis Job 5214.1
Source Files on build 5214
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #5214
  • 8a39974f on github
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