semantic_release.ci_checks module

CI Checks

semantic_release.ci_checks.bitbucket(*args, **kwargs)[source]
semantic_release.ci_checks.check(branch: str = 'master')[source]

Detects the current CI environment, if any, and performs necessary environment checks.

Parameters

branch – The branch that should be the current branch.

semantic_release.ci_checks.checker(func: Callable) Callable[source]

A decorator that will convert AssertionErrors into CiVerificationError.

Parameters

func – A function that will raise AssertionError

Returns

The given function wrapped to raise a CiVerificationError on AssertionError

semantic_release.ci_checks.circle(*args, **kwargs)[source]
semantic_release.ci_checks.frigg(*args, **kwargs)[source]
semantic_release.ci_checks.gitlab(*args, **kwargs)[source]
semantic_release.ci_checks.jenkins(*args, **kwargs)[source]
semantic_release.ci_checks.semaphore(*args, **kwargs)[source]
semantic_release.ci_checks.travis(*args, **kwargs)[source]