0

I have searched on the internet how Travis CI changes some aspects inside the GitHub, see image below:

GitHub PrintScreen

I checked the html and got something like:

<a class="text-green tooltipped tooltipped-e"
       aria-label="Success: The Travis CI build passed"
       href="https://travis-ci.org/brain-labs/brain/builds/181837312">
        <svg aria-hidden="true" class="octicon octicon-check" height="16" 
          version="1.1" viewBox="0 0 12 16" width="12">
            <path fill-rule="evenodd" d="M12 5l-8 8-4-4 1.5-1.5L4 10l6.5-6.5z"></path>
        </svg>
    </a>

I might be wrong, but I think that Travis CI is including the information together with GitHub output html. Is that right? If yes, does anyone know the exact GitHub API method/sourcery to do that?

I am asking that because I would like to change Github's html in order to something like to improve GitHub highlighting. I am already doing that with a Chrome Extension, however I am thinking of making a GitHub Integration... I hope someone can help! Thanks!

luiz_peres
  • 23
  • 2
  • 7
  • Travis isn't changing the HTML - neither can you. Travis is just providing the status (ok, not ok), the link to the build and the status message. It's up to github to show this information. – tkausl Dec 08 '16 at 19:42

1 Answers1

1

You cannot change those GitHub links, only your README, with travis status for instance.
See Travis status image.

Or you can use another Chrome extension like Github Travis Stat.

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250