Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Turn off old webhooks
    • click Edit beside webhook
    • uncheck Active
    • click Update webhook button
  • Add Travis webhook
    • click Add webhook button (above list)
    • Payload URL: https://notify.travis-ci.org
    • Which events would you like to trigger this webhook?   select Let me select individual events

      Expand
      titlesee what I check

      There may be reasons to do this different, but this is what I general check...

      • Branch or tag creation
      • Branch or tag deletion
      • Collaborator add, remove, or changed
      • Issue comments
      • Pull requests
      • Pushes
      • Repositories
      • Visibility changes


    • click Add webhook button

Branches (left menu)

  • if Default branch (e.g. main, dev, etc.) is not listed under Branch protection rules, click Add rule button
    • set Branch name pattern: default branch's name
    • check Require status checks to pass before merging
      • check continuous-integration/travis-ci
    • click Save changes button

Changes in Travis

  • turn on Travis for the repo
    • login
    • click user icon and select Settings
    • in left menu, select organization
    • in filter, search for repo name
    • click switch button to turn on travis for that repo

Testing that it all works

Travis won't run until the next commit.  To test, change a file (e.g. edit README.md and make a minor change), commit and push to GitHub in a branch.  This will trigger the Travis build.