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

cloudmarker / cloudmarker / 625
84%

Build:
DEFAULT BRANCH: master
Ran 23 Apr 2019 04:28PM UTC
Jobs 3
Files 34
Run time 3min
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
625

push

travis-ci-com

susam
Make EmailAlert docs and code consistent

The EmailAlert docstrings have been updated to make it look good from a
user's perspective. In some places, the docstrings have been fixed to
describe the functionality in the code correctly. In some other cases,
the code has been updated to be consistent with the updated docstrings.

The following changes have been made to the plugin parameters:

  - Rename `sender` to `from_addr`.
  - Rename `to` to `to_addrs`.
  - Remove `body`.
  - Add defaults for `subject`, `host`, and `port`.

The names `from_addr` and `to_addrs` have been picked from the Python
`smtplib` documentation. They have done the work of choosing good names,
so we just reuse it. The `to_addrs` name has an additional advantage
that it hints at the value being a list of addresses.

The `body` parameter has been removed because this is not a generic
emailer class. This is an alert plugin which will decide its own email
content based on the events it receives in its `write()` method.
There is never a situation where the email content can be specified via
configuration.

The defaults for `host` and `port` have also been picked from the Python
`smtplib` documentation. They implement sensible default behaviour for
these defaults, so we reuse that behaviour by choosing the same
defaults.

323 of 340 branches covered (95.0%)

Branch coverage included in aggregate %.

1566 of 1659 relevant lines covered (94.39%)

2.83 hits per line

Jobs
ID Job ID Ran Files Coverage
1 625.1 23 Apr 2019 04:28PM UTC 0
94.66
Travis Job 625.1
2 625.2 23 Apr 2019 04:29PM UTC 0
94.66
Travis Job 625.2
3 625.3 23 Apr 2019 04:31PM UTC 0
94.66
Travis Job 625.3
Source Files on build 625
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #625
  • 30da5c20 on github
  • Prev Build on master (#618)
  • Next Build on master (#630)
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