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

alphagov / notifications-api / 1959
91%
master: 93%

Build:
Build:
LAST BUILD BRANCH: add-validation-message-to-s3-as-metadata
DEFAULT BRANCH: master
Ran 22 Jun 2016 02:30PM UTC
Jobs 1
Files 66
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

pending completion
1959

push

travis-ci

leohemsted
Remove db.drop_all from notify_db session fixture to speed up tests

We were dropping all tables at the end of the test run, however the alembic_version table is not part of the metadata so was being persisted. Alembic then doesn't upgrade the database next test run, since the version appears up to date, so we were, in the notify_db_session fixture, recreating from MetaData (sqlalchemy models). This involves quite a costly comparison of the postgres system tables and the tables in models.py, which was adding half a second to each test that uses the notify_db_session fixture (virtually all of them).

2416 of 2651 relevant lines covered (91.14%)

0.91 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1959.1 (auth_token=[secure]) 22 Jun 2016 02:30PM UTC 0
91.14
Travis Job 1959.1
Source Files on build 1959
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1959
  • bffeaa77 on github
  • Next Build on test-refactor (#1964)
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