hasura / ci-info-hs

Get details about the current Continuous Integration environment - Haskell port of https://github.com/watson/ci-info

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)

About

Get details about the current Continuous Integration environment - Haskell port of https://github.com/watson/ci-info

License:MIT License


Languages

Language:Haskell 100.0%