Search code examples
buildpush-notificationcontinuous-integrationtravis-cigit-commit

How add email notification in Travis and where?


I wanted to add email notification for me and my colleagues for Travis CI Build. Whatever the result is failure or Sucess of Build we should get notified. Should i need some extra settings in my git account? What to add for email notification in Travis and where?I mean any file or i can add in .travis.yml file?

Thanks


Solution

  • I have added email-notification to .travis.yml file in repository

    notifications:  
      email:  
        recipients:  
        - xyz@abc.com  
        on_success: always  
        on_failure: always