“Travis CI is a hosted, distributed continuous integration service used to build and test software projects hosted at GitHub.”
- https://docs.travis-ci.com/user/getting-started/
Link GitHub account
Link your repository
Add your .travis.yml file
1
2
3
4
5
6language: csharp
mono: none
dotnet: 2.2.104
script:
- dotnet restore
- dotnet test
- Select the ‘BUILD’ option/image at the top
- From the second drop down select ‘markdown’
- Copy the markdown to your readme
Your README should then display as follows