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

bitwalker / timex / 640
72%

Build:
DEFAULT BRANCH: master
Ran 01 Jul 2017 07:46PM UTC
Jobs 2
Files 56
Run time 8s
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
640

push

travis-ci

bitwalker
Add typespecs for Timex.Protocol and adjust irregularities (#328)

Adding the typespecs to the protocol will enable dialyzer
to verify the typespecs of the implementations as well as
the calls from the main Timex module.

The typespecs in the Timex module was updated to use
Types.valid_datetime instead of the more verbose multi type
version (also Types.calendar_types does not exist).

Error tuple returns was added to those missing it in the
Timex module.

The protocol implementations type specifications is
narrowed down to match those of the protocol/caller module.

The typespecs for to_julian was changed to float, which is
what is returned.

Also fixes a few bugs:

* from_iso_day for Date now returns a Date struct instead of a map
* beginning_of_quarter for Date now works instead of crashes
* beginning_of_quarter now returns the correct time for erlang datetimes
* end_of_week now returns a erlang datetime instead of a date for erlang datetimes

1858 of 2685 relevant lines covered (69.2%)

173.98 hits per line

Jobs
ID Job ID Ran Files Coverage
1 640.1 01 Jul 2017 07:46PM UTC 0
69.16
Travis Job 640.1
2 640.2 01 Jul 2017 07:46PM UTC 0
69.16
Travis Job 640.2
Source Files on build 640
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #640
  • 70ee35b5 on github
  • Prev Build on master (#637)
  • Next Build on master (#643)
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