diff --git a/.travis.yml b/.travis.yml index d87c80f..5cb54c6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,6 +11,12 @@ env: jobs: - MOLECULE_DISTRO=debian:stretch-slim - MOLECULE_DISTRO=debian:buster-slim - script: - - ./test.sh \ No newline at end of file + - ./test.sh +notifications: + email: + if: branch = master + on_success: change + on_failure: always + recipients: + - desarrollo.benders@idealista.com diff --git a/CHANGELOG.md b/CHANGELOG.md index b347d2a..f502e75 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ This project adheres to [Semantic Versioning](http://semver.org/) and [Keep a ch ## Unreleased ### Added +- *[#69](https://github.com/idealista/cookiecutter-ansible-role/issues/69) Email notifications in travis.* @vicsufer ### Changed ### Fixed - *[#67](https://github.com/idealista/cookiecutter-ansible-role/issues/67) fix needed task in check_mode- @vicsufer diff --git a/{{cookiecutter.app_name}}_role/{% raw %}.travis.yml{% endraw %} b/{{cookiecutter.app_name}}_role/{% raw %}.travis.yml{% endraw %} index e14d6b9..eb97830 100644 --- a/{{cookiecutter.app_name}}_role/{% raw %}.travis.yml{% endraw %} +++ b/{{cookiecutter.app_name}}_role/{% raw %}.travis.yml{% endraw %} @@ -17,3 +17,9 @@ script: notifications: webhooks: https://galaxy.ansible.com/api/v1/notifications/ + email: + if: branch = main + on_success: change + on_failure: always + recipients: + - desarrollo.benders@idealista.com