Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Email notification #80

Merged
merged 13 commits into from
Jun 8, 2013
Merged

Conversation

meadsteve
Copy link
Contributor

Partially implements functionality for #35.

Email notifications sent to a default address registered during install and any addresses added in the phpci.yml:

complete:
email:
addresses:
- test1@gmail.com
- test2@gmail.com

@meadsteve meadsteve mentioned this pull request Jun 4, 2013
swiftmailer was added automatically by PHPStorm and the indentation didn't match the rest of the file.
@dancryer
Copy link
Owner

dancryer commented Jun 5, 2013

Looks good to me! What makes it a partial implementation?

@ghost ghost assigned meadsteve Jun 5, 2013
@meadsteve
Copy link
Contributor Author

The three main things that need adding are:

  • Better formatting of the results in the mail body. It's basically a dump of the log at the moment.
  • Slightly more intelligent subjects. I.e. if the project goes from broken to fixed the status reflects this.
  • The option to only send emails when the status changes. Passing to Failing or Failing to Passing.

@dancryer
Copy link
Owner

dancryer commented Jun 5, 2013

Ah, good call. Are we going to leave un-merged until that stuff is done?

@meadsteve
Copy link
Contributor Author

Hmmm. Hadn't really thought about it. It works (or at least should) in very simple cases so it might be worth merging now to start getting some testing of it done. I don't anticipate any major structural changes so merging now and then merging again later shouldn't affect very much.

dancryer added a commit that referenced this pull request Jun 8, 2013
@dancryer dancryer merged commit 5b4f132 into dancryer:master Jun 8, 2013
@meadsteve meadsteve deleted the email-notification branch July 25, 2013 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants