Explore different badges on GitHub
- Link to Github and add the repository.
- Follow the instructions
- From Github.com install CodeCov. It is free for open-source repository.
- Add the repo in codecov.
- update
.travis.yml
Note: because codecov
is in after_success
, it won't give a failing error if it fails.
Find the badge from here
Python package is used as an example.
Here is a simple tutorial.
To add python package document into github page, steps are:
-
Make sure sphinx generate doc you want
-
Follow instructions here
a. put ORG,REPO,EMAIL var in travis-ci repo setting; b. create a token from github, follow the instructions; c. run
travis encrypt GH_TOKEN=xxxx --add
; d. modifypublish.sh
. -
commit and push