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

Robpol86 / etaprogress / 37
97%

Build:
DEFAULT BRANCH: master
Ran 20 Oct 2014 02:06AM UTC
Jobs 5
Files 9
Run time 1min
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
37

push

travis-ci

Robpol86
Optimized eta_letters().

Updates tests since I no longer omit 0-value numbers in the middle of
the strings (e.g. 1day 0 minute 1 second).

From:
$ python -m timeit 'from eta_conversions import eta_letters as eta;
[eta(i, shortest=shortest, leading_zero=leading_zero) for i in (0, 5,
65, 3605, 86405, 604805, 2630000) for leading_zero in (True, False) for
shortest in (True, False)]'
10000 loops, best of 3: 165 usec per loop

To:
$ python -m timeit 'from eta_conversions import eta_letters as eta;
[eta(i, shortest=shortest, leading_zero=leading_zero) for i in (0, 5,
65, 3605, 86405, 604805, 2630000) for leading_zero in (True, False) for
shortest in (True, False)]'
10000 loops, best of 3: 50.1 usec per loop

446 of 461 relevant lines covered (96.75%)

4.84 hits per line

Jobs
ID Job ID Ran Files Coverage
1 37.1 20 Oct 2014 02:06AM UTC 0
96.75
Travis Job 37.1
2 37.2 20 Oct 2014 02:07AM UTC 0
96.75
Travis Job 37.2
3 37.3 20 Oct 2014 02:07AM UTC 0
96.75
Travis Job 37.3
4 37.4 20 Oct 2014 02:06AM UTC 0
96.75
Travis Job 37.4
5 37.5 20 Oct 2014 02:06AM UTC 0
96.75
Travis Job 37.5
Source Files on build 37
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #37
  • ad934d47 on github
  • Prev Build on master (#36)
  • Next Build on master (#38)
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