connell-class / revassess

this is a trial repo for making a template for the revature assessment
2 stars 11 forks source link

Email notification not being sent for the other branches (the tiers) when the .travis.yml file is filled out on the master branch #40

Open ghost opened 4 years ago

ghost commented 4 years ago

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

Desktop (please complete the following information):

Additional context Also if you could add documentation describing the process to add email notification, that would be great.

connellrobert commented 4 years ago

The temporary solution is to add the email into the yaml file in all the branches. I am currently looking for a more elegant solution.