Compare commits

..

2 commits

Author SHA1 Message Date
Stephen Ball
3169aa9e1a Merge branch 'master' into add-commit-to-deployer 2016-07-04 20:10:31 +01:00
Stephen Ball
cf5402d894 Update Deployer.php 2016-06-08 10:25:10 +01:00
2 changed files with 7 additions and 1 deletions

View file

@ -65,7 +65,8 @@ class Deployer implements \PHPCI\Plugin
'source' => 'PHPCI',
'url' => $this->phpci->interpolate('%BUILD_URI%'),
'branch' => $this->phpci->interpolate('%BRANCH%'),
'update_only' => $this->updateOnly
'commit' => $this->phpci->interpolate('%COMMIT%'),
'update_only' => $this->updateOnly,
));
return $response['success'];

5
PHPCI/Plugin/PhpCpd.php Executable file → Normal file
View file

@ -50,12 +50,17 @@ class PhpCpd implements \PHPCI\Plugin
$this->build = $build;
$this->path = $phpci->buildPath;
$this->standard = 'PSR1';
$this->ignore = $phpci->ignore;
if (!empty($options['path'])) {
$this->path = $phpci->buildPath . $options['path'];
}
if (!empty($options['standard'])) {
$this->standard = $options['standard'];
}
if (!empty($options['ignore'])) {
$this->ignore = $options['ignore'];
}