Describe the bug
The email notification for the build report is only being sent for when the email notification information is added to the .travis.yml file on each branch (confirmed for the master branch, the tier1 branch, and the tier2 branch). The email notification is suppose to be sent when the email notification information is only filled out in the .travis.yml file on the master branch. It is not suppose to require the email notification information to be filled out in the .travis.yml file on each branch.
To Reproduce
Steps to reproduce the behavior:
Generate a repository from the template repository.
In git bash change the directory to a desired location for cloning the repository to.
In git bash clone the generated repository in the desired repository.
In git bash cd into the cloned repository.
In git bash checkout the master branch.
Using a basic text editor (I used notepad) add the email notification to the .travis.yml on the master branch, via changing the "example@example.com" in the email notification portion of the ".travis.yml" file as shown below (leave the dash with a white space between the dash and email).
notifications:
email: #enter your email address below
example@example.com
Use git commands to add, commit, and push the changes for the master branch.
git add . git commit -m "Adding email notification to the master branch. git push
In git bash checkout the tier1 branch using git checkout tier1
Do a push that will trigger a build without the email notification added to .travis.yml file on that tier's branch.
Add an empty text file to the branch directory.
Use git commands to add, commit, and push the changes for the tier1 branch.
git add . git commit -m "Adding email notification to the tier1 branch. git push
Do a second push that will trigger a build with the email notification added to the .travis.yml file on that tier's branch.
Using a basic text editor (I used notepad) add the email notification to the .travis.yml on the master branch, via changing the "example@example.com" in the email notification portion of the ".travis.yml" file as shown below (leave the dash with a white space between the dash and email).
notifications:
email: #enter your email address below
example@example.com
Use git commands to add, commit, and push the changes for the tier1branch.
git add . git commit -m "Adding email notification to the tier1 branch. git pushExpected behavior
You should only receive an email for pushing to the master branch and the second push for the tier1 branch. You should not receive an email for the first push for the tier1 branch.
Screenshots
Desktop (please complete the following information):
OS: Windows 10
Browser Chrome
Version [e.g. 22]
Additional context
Also if you could add documentation describing the process to add email notification, that would be great.
Describe the bug The email notification for the build report is only being sent for when the email notification information is added to the .travis.yml file on each branch (confirmed for the master branch, the tier1 branch, and the tier2 branch). The email notification is suppose to be sent when the email notification information is only filled out in the .travis.yml file on the master branch. It is not suppose to require the email notification information to be filled out in the .travis.yml file on each branch.
To Reproduce Steps to reproduce the behavior: Generate a repository from the template repository. In git bash change the directory to a desired location for cloning the repository to. In git bash clone the generated repository in the desired repository. In git bash cd into the cloned repository. In git bash checkout the master branch. Using a basic text editor (I used notepad) add the email notification to the .travis.yml on the master branch, via changing the "example@example.com" in the email notification portion of the ".travis.yml" file as shown below (leave the dash with a white space between the dash and email). notifications: email: #enter your email address below
git add . git commit -m "Adding email notification to the master branch. git push
In git bash checkout the tier1 branch usinggit checkout tier1
Do a push that will trigger a build without the email notification added to .travis.yml file on that tier's branch. Add an empty text file to the branch directory. Use git commands to add, commit, and push the changes for the tier1 branch.git add . git commit -m "Adding email notification to the tier1 branch. git push
Do a second push that will trigger a build with the email notification added to the .travis.yml file on that tier's branch. Using a basic text editor (I used notepad) add the email notification to the .travis.yml on the master branch, via changing the "example@example.com" in the email notification portion of the ".travis.yml" file as shown below (leave the dash with a white space between the dash and email). notifications: email: #enter your email address belowgit add . git commit -m "Adding email notification to the tier1 branch. git push
Expected behavior You should only receive an email for pushing to the master branch and the second push for the tier1 branch. You should not receive an email for the first push for the tier1 branch. ScreenshotsDesktop (please complete the following information):
Additional context Also if you could add documentation describing the process to add email notification, that would be great.