Merge pull request #70 from idealista/features/69

travis.yml email notifications
This commit is contained in:
Víctor Suárez Fernández 2021-04-30 09:10:06 +02:00 committed by GitHub
commit 3514236fa0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 2 deletions

View File

@ -11,6 +11,12 @@ env:
jobs: jobs:
- MOLECULE_DISTRO=debian:stretch-slim - MOLECULE_DISTRO=debian:stretch-slim
- MOLECULE_DISTRO=debian:buster-slim - MOLECULE_DISTRO=debian:buster-slim
script: script:
- ./test.sh - ./test.sh
notifications:
email:
if: branch = master
on_success: change
on_failure: always
recipients:
- desarrollo.benders@idealista.com

View File

@ -4,6 +4,7 @@ This project adheres to [Semantic Versioning](http://semver.org/) and [Keep a ch
## Unreleased ## Unreleased
### Added ### Added
- *[#69](https://github.com/idealista/cookiecutter-ansible-role/issues/69) Email notifications in travis.* @vicsufer
### Changed ### Changed
### Fixed ### Fixed
- *[#67](https://github.com/idealista/cookiecutter-ansible-role/issues/67) fix needed task in check_mode- @vicsufer - *[#67](https://github.com/idealista/cookiecutter-ansible-role/issues/67) fix needed task in check_mode- @vicsufer

View File

@ -17,3 +17,9 @@ script:
notifications: notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/ webhooks: https://galaxy.ansible.com/api/v1/notifications/
email:
if: branch = main
on_success: change
on_failure: always
recipients:
- desarrollo.benders@idealista.com