How to make travis ci create bad graphics for every git branch

So I have this github repo with several branches here: https://github.com/WalnutiQ/WalnutiQ and the missing assembly icon from travis ci on the main README.md

Whenever I click commit on any branch, if it fails, the travis ci graphic will cause the assembly to fail for all branches. Is there an easy way to do this so that it displays the failure assembly for only one branch?

+4
source share
1 answer

I'm not sure if this counts as an easy way, but here's what I do.

Build Script:

  • script, , .
  • .

- .

Script

script , , .

README.md :

![Build Status](http://www.typhoonframework.org/build-status/build-status.png)

., , StackOverflow, , :

http://www.typhoonframework.org/build-status/build-status.png?q=z

, script, , README.

:

, , , build-server.

  • , - .
  • script, 68 , API . , , YAML ( ), .
  • build- script , . , script , .
  • , .

, , , .

+1

Source: https://habr.com/ru/post/1568245/


All Articles