{{'.travis.yml configuration and template information' | translate}}

{{'The following section needs to be added to your' | translate}} .travis.yml {{'file in your repositories:' | translate}}

{{ travisYaml }}

{{'The following variables can be used in your template. This template is used to post a message to theroom when your webhook is activated.' | translate}}

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