I’m building a simple project with Travis CI, but the e-mail notification doesn’t work. I’ve tried the following ways:
notifications:
email: a@a.com
and
notifications:
email:
recipients:
- a@a.com
- b@b.com
- c@c.com
on_success: always
on_failure: always
All of the e-mail addresses are primary e-mail addresses of GitHub accounts, and a@a.com is the owner and administrator of the repository, b@b.com and c@c.com are collaborators of the repository. I even changed the e-mail addresses to be public on GitHub, but that didn’t help either.
On the site of Travis CI: Settings -> Email notifications -> Build emails option is enabled.
The project builds fine, it runs the tests and exit with code 0. In this case, there are no error messages, or anything unusual that can cause the problem, we just do not receive the e-mails (spam folder also checked). I’ve tried to brake the tests, but the situation is the same - no e-mail when the code is broken as well. The commit status on GitHub works fine.
Do you have any idea how to fix my problem?