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

chop-dbhi / avocado / 779 / 1
81%
master: 80%

Build:
Build:
LAST BUILD BRANCH: instance-cache-key
DEFAULT BRANCH: master
Ran 08 Dec 2016 07:29PM UTC
Files 69
Run time 4s
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

08 Dec 2016 07:24PM UTC coverage: 81.264%. First build
DJANGO=1.5.12 POSTGRES_TEST_USER=postgres POSTGRES_TEST_NAME=avocado MYSQL_TEST_USER=root MYSQL_TEST_NAME=avocado

push

travis-ci

bruth
Ignore caching for anonymous instances

The current implementation of the cache key depends on the instance
having a primary key. However in some cases (like the session), the
instance is temporary and not persisted. Adding this condition simply
ignores attempting to cache the data with respect to the key since
it is temporary and thus likely to change be short-lived in practice.

Signed-off-by: Byron Ruth <b@devel.io>

3318 of 4083 relevant lines covered (81.26%)

0.81 hits per line

Source Files on job 779.1 (DJANGO=1.5.12 POSTGRES_TEST_USER=postgres POSTGRES_TEST_NAME=avocado MYSQL_TEST_USER=root MYSQL_TEST_NAME=avocado)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 779
  • Travis Job 779.1
  • 2879798f 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