.. | |||
res | Loading last commit info... | ||
src | |||
.gitignore | |||
LICENSE | |||
README.md | |||
Setup.hs | |||
cabal.project.freeze | |||
ci-info.cabal | |||
package.yaml | |||
stack.yaml |
README.md
ci-info-hs
Checks if the current environment is a Continuous Integration server.
This is a Haskell port of watson/ci-info.
Usage
Check if the current environment is a CI server:
isCI :: IO Bool
Get the name of the CI vendor. Returns Nothing
if no CI could be detected. Returns Just CI_UNKNOWN_VENDOR
if a CI was detected, but the vendor name could not be determined:
getCI :: IO (Maybe CI)