Download the PHP package matthiasmullie/ci-sniffer without Composer
On this page you can find all versions of the php package matthiasmullie/ci-sniffer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download matthiasmullie/ci-sniffer
More information about matthiasmullie/ci-sniffer
Files in matthiasmullie/ci-sniffer
Package ci-sniffer
Short Description Detects which CI environment the code is run and how to fetch details about the code being tested.
License MIT
Homepage http://github.com/matthiasmullie/ci-sniffer
Informations about the package ci-sniffer
CI sniffer
Travis, is that you?
All CI providers set some environment variables to let you know who they are and some additional info, but there's little consistency between how and what they expose. This will figure out what environment you're in and how to access some (sometimes hard to get) data in there, so you don't have to.
Supported CI providers
Provider | Status |
---|---|
Appveyor | |
Circle CI | |
Codeship | |
Drone | |
Jenkins | Supported! |
Shippable | |
Snap CI | |
Travis CI | |
Wercker |
Example usage
Or execute the binary (bin/ci-sniffer
) to get all info in JSON format. E.g.:
Installation
Simply add a dependency on matthiasmullie/ci-sniffer to your composer.json file if you use Composer to manage the dependencies of your project:
Although it's recommended to use Composer, you can actually include these files anyway you want.
License
ci-sniffer is MIT licensed.