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

home-assistant / home-assistant / 31229
94%

Build:
DEFAULT BRANCH: dev
Ran 23 Oct 2017 08:31AM UTC
Jobs 5
Files 319
Run time 13min
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
31229

push

travis-ci

pvizeli
Add fail2ban sensor (#9975)

* Initial revision of fail2ban sensor

* Verified working, added tests

* Re-factored code so that log reading isn't called for each sensor

* Lint fixes

* Removed errant reset of last ban, added test to verify bans persist through update

* Removed for loop in read_log and replaced with regex per review request

* Refactored update to use current ban array for last ban state

- also was missing return False in timer for default behavior

* Removed CONF_SCAN_INTERVAL from PLATFORM_SCHEMA.extend

- renamed DEFAULT_SCAN_INTERVAL to SCAN_INTERVAL

* SCAN_INTERVAL changed to timedelta

* Force travis rebuild (last build timed out)

* Using compiled regex now

27290 of 29024 relevant lines covered (94.03%)

2.82 hits per line

Jobs
ID Job ID Ran Files Coverage
1 31229.1 (TOXENV=lint) 23 Oct 2017 08:45AM UTC 0
Travis Job 31229.1
2 31229.2 (TOXENV=py34) 23 Oct 2017 08:31AM UTC 0
94.01
Travis Job 31229.2
3 31229.3 (TOXENV=py35) 23 Oct 2017 08:35AM UTC 0
94.0
Travis Job 31229.3
4 31229.4 (TOXENV=py36) 23 Oct 2017 08:35AM UTC 0
94.0
Travis Job 31229.4
5 31229.5 (TOXENV=requirements) 23 Oct 2017 08:33AM UTC 0
Travis Job 31229.5
Source Files on build 31229
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #31229
  • f9d89a01 on github
  • Prev Build on dev (#31223)
  • Next Build on dev (#31230)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc