Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-52407

Travis: Start sending e-mail notifications

    XMLWordPrintable

Details

    • MOODLE_29_STABLE, MOODLE_30_STABLE, MOODLE_310_STABLE, MOODLE_39_STABLE
    • MOODLE_35_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
    • MDL-52407-master
    • Hide

      Prerequisites

      1. Make sure Travis CI have access to your GitHub repository. Head over to our documentation for details on setting up Travis CI.
      2. Fetch the testing branch:

        git fetch git://github.com/vmdef/moodle testing-travis
        

      3. Create a new local branch:

        git checkout -b testing-travis FETCH_HEAD
        

      Test 1 - Email notifications disabled

      1. Define an environment variable in the Travis repository settings (Travis documentation) to turn off email notifications:
        name value
        MOODLE_EMAIL no
      1. Push the new branch to your GitHub repository (github is your GitHub remote):

        git push github
        

      2. Wait until the build tasks end.
      3. Confirm that you don't receive a notification email from Travis with the build result.

      Test 2 - Email notifications enabled by default

      1. Remove the environment variable created in the previous test (step 1).
      2. Add an empty commit:

        git commit --allow-empty -m"empty commit"
        

      3. Push the new commit:

        git push github testing-travis
        

      4. Wait until the build tasks end.
      5. Confirm that you do receive a notification email from Travis with the build result.
      Show
      Prerequisites Make sure Travis CI have access to your GitHub repository. Head over to our documentation for details on setting up Travis CI. Fetch the testing branch: git fetch git: //github .com /vmdef/moodle testing-travis Create a new local branch: git checkout -b testing-travis FETCH_HEAD Test 1 - Email notifications disabled Define an environment variable in the Travis repository settings ( Travis documentation ) to turn off email notifications: name value MOODLE_EMAIL no Push the new branch to your GitHub repository ( github  is your GitHub remote): git push github Wait until the build tasks end. Confirm that you don't receive a notification email from Travis with the build result. Test 2 - Email notifications enabled by default Remove the environment variable created in the previous test (step 1). Add an empty commit: git commit --allow-empty -m"empty commit" Push the new commit: git push github testing-travis Wait until the build tasks end. Confirm that you do receive a notification email from Travis with the build result.

    Description

      We originally disabled e-mail notifications in MDL-51458. That issue has now been fixed and deployed their end.

      We should test again and roll out.

      Attachments

        Issue Links

          Activity

            People

              vmdef Víctor Déniz Falcón
              dobedobedoh Andrew Lyons
              Juan Leyva Juan Leyva
              Jake Dallimore Jake Dallimore
              Jake Dallimore Jake Dallimore
              Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              3 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                9/Nov/20

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 2 hours, 6 minutes
                  1d 2h 6m