Dan Cryer
9de19d6bbb
Merging latest master
2014-12-08 14:18:57 +00:00
Dan Cryer
7f9a09fa29
Adding Docblocks throughout the project and lowering the missing docblock limit in phpci.yml to zero.
...
Closes #692
2014-12-08 14:12:01 +00:00
Dan Cryer
5dd42da9a0
Builder, build plugins
2014-12-04 15:48:52 +00:00
michael.schramm
b5f9e906fa
Improved PHPSpec plugin. Now includes a UI Plugin.
2014-12-03 12:21:55 +00:00
Tobias van Beek
1206f9c2f3
Prevent undefined errors in TapParser if output from scripts failed.
...
Closes #515
2014-12-03 12:12:29 +00:00
Artjom Kurapov
91f29fb22b
Make FilesPluginInformation class only try to load PHP files.
...
Closes #638
2014-12-03 11:06:19 +00:00
Wanderson
e4c40c76af
Adding Phar archive plugin.
...
Closes #659
Closes #106
2014-12-01 21:09:13 +00:00
Dan Cryer
b2a6ea38ee
Updating PHP Copy/Paste Detector to new parameter format
...
Fixes #669
2014-12-01 15:39:19 +00:00
Dan Cryer
a92c72e801
Remove infinite recursion when using an array of directories in PHP Unit config.
...
Fixes #596
2014-12-01 15:32:50 +00:00
Stefan
eb508baa4f
Make IRC plugin join channel before attempting to send a message.
...
Closes #579
2014-11-13 17:35:58 +00:00
Wanderson
61d864e4f0
Add support for skipped tests in TAP Parser.
...
Closes #624
See #611
2014-11-13 17:33:27 +00:00
Michael Schramm
404a0c1039
Fix parallel lint directory to include build path.
...
Closes #645
directory should be inside of build path
2014-11-13 17:27:30 +00:00
Schorsch3000
24498d1bc4
Added Gulp JS plugin.
...
Closes #606
2014-10-16 16:02:36 +01:00
Dan Cryer
98cc4af41b
Quick fix for the PHPLoc directory setting
2014-07-29 15:31:27 +01:00
Daren Chandisingh
677f135b7c
Add build path to phploc directory
2014-07-29 15:25:10 +01:00
Emmanuel Vella
82043ba444
Update Behat plugin to be compatible with Behat 3
...
Closes #482
2014-07-11 15:50:17 +01:00
Dan Cryer
d1ae05b006
PHPCS Cleanup
2014-07-11 14:07:27 +01:00
Dmitrijs Vrublevskis
3b78a33a34
Add color & notify options for HipChat plugin. Also fix execute result - return correct notify status.
2014-06-29 15:18:21 +03:00
Jimmy Cleuren
27d37c924d
fixing the phpunit plugin
2014-06-17 23:47:15 +02:00
Dan Cryer
c9f56cb460
Merge pull request #458 from corpsee/phpunit-improvements
...
Removed useless args
2014-06-13 13:49:32 +01:00
Stephen Ball
e72dee9e80
Adding a build status JS plugin for PHPCPD
2014-06-12 16:06:59 +00:00
Corpsee
3834d01f0f
Removed useless args
2014-05-26 01:17:29 +07:00
Dan Cryer
8469628f7d
Merge pull request #438 from cangelis/ignore_file_phpcpd
...
Fixed file ignoring for phpcpd
2014-05-23 13:22:57 +01:00
Dan Cryer
f26d6562b3
Merge pull request #440 from Ange7/xmpp
...
Add new XMPP Notification plugin
2014-05-23 13:21:27 +01:00
Dan Cryer
5b3ab8cc42
Log output when reports fail to process
2014-05-22 11:59:26 +01:00
Alexandre Russo
05ba6df964
PHPCI/Plugin/Xmpp.php : Use implode() method instead of foreach() to build recipients for command
2014-05-21 21:57:40 +02:00
Alexandre Russo
a262af8ee2
PHPCI/Plugin/Xmpp.php : Remove unused $args variable
2014-05-21 21:57:20 +02:00
Alexandre Russo
bb500d49b4
PHPCI/Plugin/Xmpp.php : Fix command to send to system
2014-05-21 14:11:47 +02:00
Alexandre Russo
70ac59e65b
PHPCI/Plugin/Xmpp.php : Fix build message method
2014-05-21 14:11:46 +02:00
Alexandre Russo
475cd6556b
PHPCI/Plugin/Xmpp.php : default date format is now %c
2014-05-21 14:11:45 +02:00
Alexandre Russo
7ac26cb52f
PHPCI/Plugin/Xmpp.php : Fix get configuration file method
2014-05-21 14:11:44 +02:00
Alexandre Russo
915fd5351f
PHPCI/Plugin/Xmpp.php : Fix date_format variable
2014-05-21 14:11:43 +02:00
Alexandre Russo
daa2d7e716
PHPCI/Plugin/Xmpp.php : Fix config file name of sendxmpp (sendxmpprc instead of sendxmpp)
2014-05-21 14:11:42 +02:00
Alexandre Russo
96767d7d58
PHPCI/Plugin/Xmpp.php : Fix syntax variable «date_format»
2014-05-21 14:11:41 +02:00
Alexandre Russo
ade680e145
PHPCI/Plugin/XMPP.php rename to PHPCI/Plugin/Xmpp.php
2014-05-21 14:11:14 +02:00
Alexandre Russo
2db88ac431
PHPCI/Plugin/XMPP.php : Add new param «dateFormat» to display date/hour in notification message. Move code to build message string in separate method
2014-05-21 14:11:13 +02:00
Alexandre Russo
97d6a6030b
PHPCI/Plugin/XMPP.php : Add test on empty recipients list and add test to check that all command was successful
2014-05-21 14:10:54 +02:00
Alexandre Russo
9deb00a096
PHPCI/Plugin/XMPP.php : Add XMPP plugin notification to send notification via XMPP Network to recipients list
2014-05-21 14:10:32 +02:00
Can Geliş
96747a453f
Fix file ignore phpcpd
...
phpcpd's --exclude parameter only accepts "folders". Files should be used
with --names-exclude.
2014-05-19 20:00:31 +03:00
Andrew
2d01a37362
Fix behat plugin
2014-05-16 17:14:14 +03:00
Dan Cryer
3a8456deb7
Update for PR #346 to fix PHPMD error
2014-05-15 13:39:54 +01:00
Claus Due
7eddec6157
Feature: Plugin.CopyBuild wipe instruction
...
When set to `true`, this added `wipe` property will completely remove the target directory contents (except hidden files) before copying the build files into it.
The instruction is only allowed if `directory` is **not** `/` as a tiny and very inadequate measure against unintentional destruction of the host system.
2014-05-15 14:11:13 +02:00
James Inman
e84a8766fc
HipChat integration.
2014-05-13 16:56:05 +01:00
Dan Cryer
a62307250f
Fix the git plugin merge command, see #326
2014-05-12 18:57:55 +01:00
Dan Cryer
5ba629e874
Adding / correcting the file docblock throughout the project
2014-05-12 17:26:17 +01:00
Dan Cryer
70b50c108e
Reducing complexity of PhpCodeSniffer::__construct() - see #386
2014-05-12 17:07:20 +01:00
Dan Cryer
f1627b0f15
Merge pull request #411 from meadsteve/master
...
Reduce complexity of mess detector plugin execute method.
2014-05-12 16:43:40 +01:00
Dan Cryer
edc8bb0754
Cleaning up the composer plugin a little
2014-05-12 11:58:43 +01:00
Dan Cryer
32ca0b438d
Trying adding --prefer-source when --prefer-dist is not enabled
2014-05-12 11:47:07 +01:00
Steve B
f583d045cf
Merge pull request #404 from corpsee/fixes-for-windows
...
Init abstraction of command execution on different operation systems
2014-05-11 18:20:59 +01:00
Steve B
9d3e9d1719
Reduce complexity of mess detector plugin execute method.
2014-05-11 16:59:54 +01:00
Corpsee
37bdffbbdd
Merge branch 'master' into fixes-for-windows
2014-05-09 23:50:16 +07:00
Corpsee
fa85f13ae8
Small fixes for SQL plugins (phpdocs, some fixes)
2014-05-09 23:49:20 +07:00
Corpsee
3e7c38df35
Added Sqlite plugin
2014-05-09 23:41:26 +07:00
Dan Cryer
aab931c293
Reducing complexity of phpdocblockchecker::execute(), see #402
2014-05-09 16:05:21 +01:00
danio1024
cbc769d8ef
Changed PhpSpec run command order to match docs
2014-05-09 15:15:55 +02:00
danio1024
52202c08c9
Added missing run statement for PhpSpec
2014-05-09 14:51:45 +02:00
Corpsee
d7db9cf593
Few fixes for windows
2014-05-09 14:57:22 +07:00
Dan Cryer
19d166c5c4
Merge pull request #396 from jimmycleuren/master
...
Remove coverage log line
2014-05-08 22:20:50 +01:00
Jimmy Cleuren
63298f2a23
remove coverage log line
2014-05-08 23:03:13 +02:00
Dan Cryer
43ce5554a6
Adding PHP Docblock Checker plugin
2014-05-08 16:02:24 +00:00
Steve B
e7e84308d6
Merge pull request #388 from mobileka/fix-217
...
Fix #217
2014-05-08 09:33:47 +01:00
Steve B
bdad9ceb14
Merge pull request #389 from JariInc/master
...
Interpolate PHPUnit arguments
2014-05-08 09:32:33 +01:00
Dan Cryer
9eefc7bf8e
Making phpunit plugin log the TAP string in the event it fails to process it.
2014-05-07 10:20:21 +01:00
Jari Ylimäinen
067aa85876
Interpolate PHPUnit arguments
2014-05-02 22:58:22 +03:00
Armen Markossyan
5cd2e21e07
Fix #217
2014-05-02 23:47:08 +06:00
Dan Cryer
2f473763a7
Reducing complexity of Git::runAction() - See #385
2014-05-02 15:06:53 +01:00
Dan Cryer
cf6e0471e4
PHPMD cleanup
2014-05-02 14:48:40 +01:00
Dan Cryer
03f3b15fb8
Updating PHPUnit plugin to provide a report like PHPMD and PHPCS, fixes #305
2014-05-02 14:36:34 +01:00
Dan Cryer
69ea47874f
Fixing the horrors of overly long lines, misalignment, and incorrect use of new lines.
2014-05-01 16:53:29 +01:00
Dan Cryer
8cff78cee4
Setting allowed_warnings and allowed_errors to 0 by default, -1 in zero config mode. Fixes #377
2014-04-30 14:18:58 +01:00
Dan Cryer
2363775e34
Adding PHPCS report parsing.
2014-04-30 14:15:25 +01:00
Dan Cryer
28b64a2ad9
Adding PHPCS report parsing.
2014-04-30 14:14:44 +01:00
Dan Cryer
985c51c5e4
Migrating PHPMD to use XML report format and add a UI plugin to display warning information. See #305
2014-04-25 11:28:27 +00:00
Dan Cryer
2e4e3129b7
Adding the ability to run projects with no build configuration. Runs what plugins it can automatically. Closes #235
2014-04-25 10:17:39 +01:00
Claus Due
1f8a18d113
Cross-platform safe copy in Plugin.CopyBuild
...
Rather than using `xargs` which behaves differently on BSD and Linux, it's safer to use the straight `cp`. We lose the output of which files were copied - but I'd be more than happy to add this as a separate command to list which files were copied and which were ignored.
2014-04-18 15:46:46 +02:00
Dan Cryer
acf4d093bb
Updating PHPMD to enforce rules being an array. Fixes #319
2014-04-16 12:30:03 +01:00
Dan Cryer
0e6523e2cd
Adding basic git plugin
2014-04-16 10:14:19 +00:00
Dan Cryer
ad38db47bd
Updating PHPSpec plugin to work with v2. Fixes #339
2014-04-16 10:23:04 +01:00
Dan Cryer
0bf7698cac
Check $this->path is set before use, fixes #355
2014-04-16 08:57:17 +01:00
Steve B
1023541907
Merge pull request #349 from NamelessCoder/patch-5
...
Wipe Plugin - wipes a folder
2014-04-14 10:35:41 +01:00
Steve B
4b61d6b435
Merge pull request #350 from NamelessCoder/patch-6
...
Preserve absolute paths in Plugin.PhpMessDetector
2014-04-14 08:58:05 +01:00
Steve B
ecc2ff3fc6
Merge pull request #347 from NamelessCoder/patch-3
...
Missing property declaration for `ignore` on Plugin.CopyBuild
2014-04-14 08:56:25 +01:00
Claus Due
34ea46e139
Preserve absolute paths in Plugin.PhpMessDetector
...
Before: all paths, including absolute paths, were treated relative to build directory.
After: any absolute path is not prefixed with the build directory path; it gets used as-is.
2014-04-12 17:28:52 +02:00
Claus Due
9cb63dbe06
Wipe Plugin - wipes a folder
2014-04-12 14:31:31 +02:00
Claus Due
402e576cad
Missing property declaration for ignore
on Plugin.CopyBuild
2014-04-12 13:50:10 +02:00
Claus Due
187d689808
Bad copy/pasted method comment in CopyBuild plugin
2014-04-12 02:44:27 +02:00
Witold Wasiczko
72b7a3d912
Use args in Codeception plugin
2014-03-31 00:45:20 +02:00
Steve B
ff6dfefb98
Merge pull request #307 from meadsteve/feature/pluginfactoryconfig
...
Allow configuration of the plugin factory on a per install basis
2014-03-25 14:20:02 +00:00
steve.brazier
326113ebbc
psr tidy up of util/Factory.php
2014-03-25 14:18:50 +00:00
steve.brazier
7e669ada47
Merge remote-tracking branch 'origin/master' into feature/pluginfactoryconfig
...
Conflicts:
PHPCI/Builder.php
PHPCI/Plugin/Util/Factory.php
2014-03-25 14:17:03 +00:00
steve.brazier
cc71045e57
Merge remote-tracking branch 'origin/master' into feature/pluginfactoryconfig
...
Conflicts:
PHPCI/Builder.php
PHPCI/Plugin/Util/Factory.php
2014-03-25 14:13:45 +00:00
Corpsee
18701544a0
Fixed 'cd' command for windows
2014-03-13 00:37:57 +07:00
steve.brazier
d9ff36ddb4
Merge remote-tracking branch 'corpsee/master'
2014-03-10 09:48:50 +00:00
Corpsee
c3b9e62adf
Fixed composer plugin for using on Windows
2014-03-09 00:30:32 +07:00
meadsteve
6d4e49d07b
Add code to allow configuration for the plugin factory to be stored on a per install basis.
2014-03-02 19:59:52 +00:00
steve.brazier
6431ef501e
fix psr2 violations in EmailPlugin
2014-02-27 14:04:08 +00:00
steve.brazier
112adba332
fix psr2 violations in Plugin/Util
2014-02-27 14:02:21 +00:00
Steve B
3370240242
Merge pull request #267 from meadsteve/plugin-discovery
...
RFC: Plugin discovery
2014-02-25 22:43:38 +00:00
meadsteve
06625513d2
update email tests now that cc can be specified.
2014-02-25 22:39:37 +00:00
meadsteve
aa33a8761e
update PluginController to use PHPCI plugin directory as well as composer to get information about installed plugins.
2014-02-25 22:22:32 +00:00
meadsteve
28fc30682b
add FilesPluginInformation class to retrieve plugins contained with a directory.
2014-02-25 20:52:19 +00:00
meadsteve
dd5ff7a835
Extract interface for InstalledPluginInformation
2014-02-25 19:40:00 +00:00
meadsteve
6b2d0aebf1
rename LoadedPluginInformation to ComposerPluginInformation.
2014-02-25 19:33:00 +00:00
meadsteve
1f42741623
Merge branch 'master' of https://github.com/Block8/PHPCI into plugin-discovery
2014-02-25 19:26:25 +00:00
Dan Cryer
33c7312f8e
Merge branch 'master' of github.com:Block8/PHPCI
2014-02-25 16:04:28 +00:00
Dan Cryer
948d32110f
Adding CC option to email plugin
2014-02-25 16:03:00 +00:00
Dan Cryer
079a567cf0
Update Codeception.php
2014-02-25 10:57:44 +00:00
Dan Cryer
73abea2485
Adding a formatted email for build fails
2014-02-24 21:04:08 +00:00
Steve B
ddf7f8a4c3
Merge pull request #249 from c2is/master
...
Added executable option for behat plugin
2014-01-16 00:52:58 -08:00
a.cianfarani
a1f0b93861
Added executable option for behat plugin
2014-01-10 10:58:14 +01:00
meadsteve
71588cd8e1
add LoadedPluginInformation class to process composer's installed.json file and pull out information about phpci plugins.
2013-12-29 17:34:41 +00:00
meadsteve
356a2293a1
move logging related classes to appropriate namespace.
2013-12-13 16:10:54 +00:00
Steve B
e49128f4d6
Merge pull request #232 from Block8/feature/shell_plugin_updates
...
Updating shell plugin with suggestions from #188
2013-12-10 02:53:31 -08:00
Dan Cryer
853510a1d3
Updating shell plugin with suggestions from #118
2013-12-09 16:12:54 +00:00
Steve B
ce88f50958
fix the plugin executor so that the status is correctly reported.
2013-12-07 13:53:05 +00:00
steve.brazier
974aeeffdc
Merge branch 'unit-testing' into plugin-builder
2013-12-06 15:18:37 +00:00
steve.brazier
6aed18158b
extract the success/failure logging of the builder to an interface.
2013-12-06 11:31:39 +00:00
meadsteve
912776801d
move plugin execution code in to helper class.
2013-12-06 11:26:56 +00:00
steve.brazier
74df61cd6c
Merge branches 'master' and 'plugin-builder' of https://github.com/meadsteve/PHPCI into plugin-builder
2013-11-28 14:10:43 +00:00
Steve B
9891a4be62
force plugin factory to only build plugins matching interface.
2013-11-28 14:05:26 +00:00
steve.brazier
db3fcb45d6
remove callable typehint as this is not in php 5.3
2013-11-27 08:49:03 +00:00
meadsteve
6d5bceea16
fix copy-paste mistake in phpunit plugin runDir()
2013-11-25 21:49:14 +00:00
Steve B
477fd58641
Merge pull request #213 from meadsteve/plugin-builder
...
Plugin construction change - plugin factory
2013-11-25 05:43:43 -08:00
Dan Cryer
235ac26932
Merge pull request #202 from rlindauer/master
...
Fix two bugs in PhpMessdetector Plugin
2013-11-25 03:46:12 -08:00
Dan Cryer
c3d4286354
Merge pull request #208 from elkangaroo/phpcs-count-fix
...
Fixed counting (errors, warnings) in PHP Code Sniffer plugin
2013-11-25 03:44:51 -08:00
steve.brazier
767d05cd80
Update constants to uppercase to match psr2.
2013-11-20 11:47:29 +00:00
meadsteve
6467a83d1a
adds additional comments to plugin factory.
2013-11-17 22:31:51 +00:00
meadsteve
9d1d2443a9
Move the mailer constructor logic out of the plugin and in to a factory class for reuse.
2013-11-17 21:26:38 +00:00
meadsteve
51f73458c8
allow swiftmailer object to be passed in to Email Plugin.
2013-11-17 17:50:06 +00:00
meadsteve
e1d8239e8a
Create factory for plugins that resources can be registered with.
2013-11-17 17:23:35 +00:00
Alexander Wenzel
801cc8ee5e
store errors from parallel-lint as build_meta (key "phplint-errors");
...
add them to the "Quality Trend" graph on the build view
2013-11-13 19:55:45 +01:00
Alexander Wenzel
a0d5f4b4d8
fix Plugin\PhpParallelLint to reflect latest upstream changes:
...
> executable is now "parallel-lint" instead of "run"
> supports --exclude flag (ignore directories)
2013-11-13 19:18:24 +01:00
Alexander Wenzel
2fb162900d
fixed counting of errors and warnings in Plugin/PhpCodeSniffer;
...
use --report=emacs in Plugin/PhpCodeSniffer to not spam the logs with the full blown report but rather display a small human readable summary report
2013-11-13 18:50:07 +01:00
Roy Lindauer
fb08cdbbe7
Fix bug where ruleset file could not be set in PHPMessdetector plugin
2013-11-10 18:22:54 -08:00
Roy Lindauer
d5763b8d78
Fix bug where options could not be overridden in PHPMessdetector plugin
2013-11-10 18:22:05 -08:00
Steve B
e1d68bece7
Merge pull request #191 from meadsteve/logging
...
RFC: First draft of using monolog for logging
2013-11-01 05:14:08 -07:00
Dan Cryer
14f00ee512
Merge pull request #192 from c2is/atoum
...
Added chdir because atoum as bundle need to be run from app root path
2013-11-01 03:46:46 -07:00
Jimmy Cleuren
924dadcdcd
remove the double buildpath
2013-11-01 11:22:39 +01:00
a.cianfarani
e2c7a4cd43
Added chdir because atoum as bundle need to be run from app root path
2013-10-28 17:41:15 +01:00
meadsteve
8c88581021
Modified the builder so that it expects to have a psr3 compliant logger attached.
2013-10-26 16:15:29 +01:00
Dan Cryer
4120cb683d
Fixing PHPMD warnings count... Hopefully.
2013-10-12 09:50:15 +01:00
Pavel Pavlov
d214c9dc0e
Reduced cyclomatic complexity
2013-10-17 14:51:20 +04:00
Pavel Pavlov
2c1c5bfbe9
Typo fix
2013-10-17 04:17:06 +04:00
Pavel Pavlov
f1b13e48f8
Cleanup
2013-10-17 02:17:40 +04:00
Pavel Pavlov
7b3eea7cbb
Added Phing plugin
2013-10-17 02:12:42 +04:00
Dan Cryer
16003ff01b
Fixing some more PHPCS/PHPMD errors
2013-10-10 01:12:30 +01:00
Dan Cryer
77fae9a56d
Holy cleanup, batman.
2013-10-10 01:01:06 +01:00
Dan Cryer
4cbfc06022
Adding a more standard PHP Lint plugin. Fixes #111
2013-10-09 17:21:33 +01:00
Dan Cryer
cccf0b9869
Testing IRC Plugin
2013-10-08 17:23:21 +01:00