Travis CI

“Travis CI is a hosted, distributed continuous integration service used to build and test software projects hosted at GitHub.”

  1. https://docs.travis-ci.com/user/getting-started/
    1. Link GitHub account

    2. Link your repository

    3. Add your .travis.yml file

      1
      2
      3
      4
      5
      6
      language: csharp
      mono: none
      dotnet: 2.2.104
      script:
      - dotnet restore
      - dotnet test
  2. Select the ‘BUILD’ option/image at the top
    1. From the second drop down select ‘markdown’
    2. Copy the markdown to your readme

markdown

Your README should then display as follows

travis ci

Example Implementation

References