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

mysociety / alaveteli / 5226
93%
develop: 37%

Build:
Build:
LAST BUILD BRANCH: extract-handle-locking
DEFAULT BRANCH: develop
Ran 20 Jan 2017 10:49AM UTC
Jobs 4
Files 201
Run time 5min
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
5226

push

travis-ci

stevenday
Use beginning_of_day rather than today to get start of day for embargoes.

I started to get spec failures locally which I believe are caused by using
`today` to set the embargo `publish_at` field. `today` returns a Date object,
so somewhere under the hood, Rails will convert this to a Time or DateTime
object - some part of that conversion process is not application time zone
aware, so on my system (which must have GMT set somewhere under the hood),
times incremented by 3 months were starting to have an hour taken off them
to account for BST. Using beginning_of_day to cast the Date to an
ActiveSupport::TimeWithZone resolves the errors.

8494 of 9108 relevant lines covered (93.26%)

1768.98 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5226.1 (1.9.3) 20 Jan 2017 10:54AM UTC 0
93.28
Travis Job 5226.1
2 5226.2 (2.0.0) 20 Jan 2017 10:50AM UTC 0
93.27
Travis Job 5226.2
3 5226.3 (2.1.5) 20 Jan 2017 10:52AM UTC 0
93.27
Travis Job 5226.3
4 5226.4 (2.3.0) 20 Jan 2017 10:49AM UTC 0
93.26
Travis Job 5226.4
Source Files on build 5226
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #5226
  • 18415a48 on github
  • Prev Build on alaveteli-pro-develop (#5217)
  • Next Build on alaveteli-pro-develop (#5228)
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