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

rlmv / doc-trips / 996
90%

Build:
DEFAULT BRANCH: master
Ran 30 Nov 2020 12:27AM UTC
Jobs 1
Files 191
Run time 14s
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
996

push

travis-ci

alexpetros
Fix Django upgrade errors

The new Django version broke the import of a FieldDoesNotExist error and
the functionality of the __in modifier. Fixing the import was trivial;
for the latter, it appears that you can no longer use this on an
unevaluated values_list without triggering a "more than one row returned
by a subquery used as an expression" SQL error.

I fixed this error by forcing it to make the call and returning a list.
According to the Django docummentation, the benefit of a values_list is
that it can lazy-slice. In the case here, we're trying to determine if a
primary key is in the values_list, so the performance benefits from
lazy-slicing there are, from a complexity standpoint, negligible.

1001 of 1280 branches covered (78.2%)

Branch coverage included in aggregate %.

9452 of 10287 relevant lines covered (91.88%)

0.92 hits per line

Jobs
ID Job ID Ran Files Coverage
1 996.1 (DJANGO_SETTINGS_MODULE="fyt.settings" PYTHONPATH="/home/travis/builds/rlmv/doc-trips" DATABASE_URL="postgres://postgres@localhost/testdb" SECRET_KEY="secret" AWS_ACCESS_KEY_ID=[secure] AWS_SECRET_ACCESS_KEY=[secure] AWS_STORAGE_BUCKET_NAME="doc-trips-travis-testing" GOOGLE_MAPS_KEY=[secure] GOOGLE_MAPS_BROWSER_KEY=[secure]) 30 Nov 2020 12:27AM UTC 0
90.37
Travis Job 996.1
Source Files on build 996
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #996
  • cc334c1c on github
  • Prev Build on master (#994)
  • Next Build on master (#1080)
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