.travis.yml configuration and template information

The following section needs to be added to your .travis.yml file in your repositories:

{{ travisYaml }}

The following variables can be used in your template. This template is used to post a message to the room when your webhook is activated.

  • {{ '%{repository_slug}' }} - The repository identifier (eg: "matrix-org/synapse")
  • {{ '%{repository_name}' }} - The repository name (eg: "synapse")
  • {{ '%{build_number}' }} - The build number
  • {{ '%{build_id}' }} - The build ID
  • {{ '%{branch}' }} - The branch name
  • {{ '%{commit}' }} - A short version of the commit SHA
  • {{ '%{commit_subject}' }} - The first line of the commit message
  • {{ '%{commit_message}' }} - The full commit message
  • {{ '%{author}' }} - The author of the commit
  • {{ '%{result}' }} - The result of the build
  • {{ '%{message}' }} - The message from Travis CI about the build
  • {{ '%{duration}' }} - The total duration of all builds in the matrix
  • {{ '%{elapsed_timed}' }} - The time it took to run the build
  • {{ '%{compare_url}' }} - A URL to see the changes which triggered the build
  • {{ '%{build_url}' }} - A URL to see the build information
Repositories
Repository Template Added by Actions
{{ repo.repoKey }} {{ repo.addedByUserId }}