scriptnull / badgeit

[WIP] Hassle-free badges for your READMEs.
MIT License
3 stars 1 forks source link

badges for travis #5

Closed scriptnull closed 7 years ago

scriptnull commented 7 years ago

if .travis.yml is present && can fetch github repo url of the current git repo, the following details can be generated from the repo information.

Use https://github.com/scriptnull/badgeit/blob/master/contracts/contract_github.go#L23 to get the github repo information and generate the below badges.

It would be good to have a cache implemented in common.GetGithubRepos. So that, the .git parsing is done only once and all the contracts can get data from the cache in subsequent accesses.

scriptnull commented 7 years ago

Basic travis badge is done and cache is not yet implemented. will implement it afterwards.

scriptnull commented 7 years ago

Deployed 🎉