stores results created during a CI in a special git branch
Project description
cico
cico stores results created during a CI in a special git branch
cico.py
from cico import TravisCI
from cico.results import Directory, File, Badge
TravisCI(
repo = GitHub(USERNAME, REPO_NAME, TOKEN),
branch = "ci-results",
results = [
Files("testresults.tap", destination="tap"),
Directory("covhtml", destination="coverage"),
Badge("badges/mybadge", png=True, label="My Badge", value=96,
**anybadge_arguments), # https://github.com/jongracecox/anybadge
]
).commit(
message="build {build} on branch {branch}", # commit message (optional)
no_ci_push=True # push if no CI environment (default=False)
)
.travis.yml
after_script:
- python cico.py
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cico-0.1.0.tar.gz
(2.9 kB
view hashes)
Built Distribution
cico-0.1.0-py3-none-any.whl
(3.7 kB
view hashes)