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

alphagov / notifications-admin / 2399
85%
master: 94%

Build:
Build:
LAST BUILD BRANCH: fix-days-provider-history
DEFAULT BRANCH: master
Ran 12 Apr 2016 08:08PM UTC
Jobs 1
Files 49
Run time 2s
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
2399

push

travis-ci

quis
Only collapse email templates if they’re long

It’s a bit silly to have email templates expandable if you’re only going
to reveal a couple more lines.

This commit adds a data attribute which specifies how high (in pixels)
the email template can be before it gets truncated. It then changes the
script to only truncate emails which are naturally taller than this
height.

Currently the cut off is at 174px, which is approximately 8 lines of
text: `174px / (font-size: 19px * line-height: 1.31) = 6.99`

1533 of 1813 relevant lines covered (84.56%)

0.85 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2399.1 (auth_token=[secure]) 12 Apr 2016 08:08PM UTC 0
84.56
Travis Job 2399.1
Source Files on build 2399
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2399
  • 6859df3d on github
  • Next Build on only-collapse-long-emails (#2400)
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