PACKAGE - CI-UTILS

FUNCTION - BUILD-ID
Returns the build id for the given platform. NIL is returned on unsupported platforms.

FUNCTION - CIP
Whether lisp is running on a CI platform.

FUNCTION - PLATFORM
Returns the current CI platform. When on a non-ci platform, nil is returned. The following is the symbols for supported platforms

Platform Symbol Name
Travis CI :TRAVIS-CI
Circle CI :CIRCLECI
Appveyor :APPVEYOR
GitLab CI :GITLAB-CI
Bitbucket Pipelines :BITBUCKET-PIPELINES
Azure Pipelines :AZURE-PIPELINES
Github Actions :GITHUB-ACTIONS
unknown ci systems :UNKNOWN-CI

FUNCTION - PULL-REQUEST-P
Returns whether the build is for a pull/merge request. Unknown and non-ci platforms are considered to not be pull requests. A string containing the pull request number is returned for pull requests

FUNCTION - BRANCH
Returns the name of the branch the build is from, or NIL for unknown and non-ci platforms.

FUNCTION - COMMIT-ID
Returns the ID of the current commit. For git projects, this is the commit’s SHA. NIL is returned on unsupported platforms.

FUNCTION - BUILD-DIR
Returns the directory that the code was copied into. When not on a known CI platform, the current working directory is returned.


PACKAGE - CI-UTILS/COVERALLS

FUNCTION - COVERAGE-EXCLUDED
Gets the contents of the COVERAGE_EXCLUDED environemental variable as a list of path strings

FUNCTION - COVERALLSP
Whether the current systems has the COVERALLS environmental variable set

MACRO - WITH-COVERALLS (EXCLUDE &BODY BODY)
Wraps the body with the coveralls:with-coveralls macro if coveralls is enabled