Article version: Enterprise Server 2.13

This version of GitHub Enterprise will be discontinued on This version of GitHub Enterprise was discontinued on 2019-03-27. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise. For help with the upgrade, contact GitHub Enterprise support.

Continuous integration using Travis CI

You can automatically trigger build jobs on Travis CI when pushes are made to a repository in your GitHub Enterprise Server instance. Additionally, you can display the build status in the README for the repository.

GitHub Enterprise Server configuration

  1. Sign into GitHub Enterprise Server with your personal user account.
  2. Navigate to the repository you want to connect to Travis.
  3. In the right sidebar, click Settings.
  4. In the left sidebar, click Wehooks & Services.
  5. In the Services box, click Add service.
  6. Select "Travis CI".
  7. Fill in the configuration settings:

    • In the User field, type your Travis CI username.
    • In the Token field, type your Travis CI token.
    • In the Domain field, type the domain of your project on Travis CI.
  8. Click Add service.

README build status

  1. Navigate to your repository's page on Travis CI.
  2. In the top right corner of the page, click the build status image.
  3. In the build dialog, copy the URL from the Markdown field.
  4. In your GitHub Enterprise Server repository, paste the build status URL into the repository's README.

Ask a human

Can't find what you're looking for?

Contact us