- Fix Gitlab 9.0+ support (environment variables were renamed in GitLab 9.0+).
- Add continuousphp CI support.
- Add drone CI support.
- Require PHP 7.1, use strict types.
- Add AppVeyor (Windows cloud CI) support.
- BC: The
detect()
method ofCiDetector
class is no longer static. - BC: Rearrange namespaces, all classes are now in
CiDetector
sub-namespace. - Added
isCiDetected()
method to detect if current environment is CI. - BC:
detect()
method always returns instance ofCiInterface
and throwsCiNotDetectedException
if CI environment is not detected.
- Add
getGitBranch()
method to detect Git branch of the build (supported by all CIs except TeamCity). - Add
getRepositoryUrl()
method to detect repository source URL (not supported Codeship, TeamCity, Travis).
- Initial release supporting Jenkins, Travis CI, Bamboo, CircleCI, Codeship, GitLab and TeamCity services.