Commit graph

344 commits

Author SHA1 Message Date
Adam Cooper 408eb5b974 An attempt at making the codeception plugin a little more complete.
Codeception JS plugin and theme changes.
Improvements to the display. Extra total information plus some test file locations.

Close #588
2015-04-23 13:18:26 +02:00
Adirelle f25b1d25dc Let CommandExecutor::findBinary throw an exception when the binary is missing.
Close #910
2015-04-22 12:19:05 +02:00
Angel Koilov 77ba61c8bc add pingback for IRC plugin
Close #886
2015-04-22 11:58:43 +02:00
Adirelle 452a5ba97c Enforce "en" lang in tests.
Some tests compare the result to english strings.

Do not test UnixCommandExecutor on Windows.

PharTest: explain why PHAR writing test are skipped.

InstallCommandTest: mock checkRequirements to allow the tests to run.

Run php_parallel_lint before all other tests.

Close #846
2015-04-22 11:49:26 +02:00
Marco Vito Moscaritolo 3626eabc2e Merge pull request #871 from REBELinBLUE/fix_wipe_error
Preventing the wipe plugin failing due to an undefined variable
2015-04-16 18:39:30 +02:00
zviryatko 731fd65453 Change xmpp config and message files directory 2015-04-09 12:08:27 +02:00
Angel Koilov 524341a50b remove unnecessary code 2015-04-09 12:06:32 +02:00
Adirelle 9d4116e3c9 Reworked TapParser to be compliant and more robust.
Added another test case from #571.

Updated the output of TapParser::processTestLine.

Broke TapParser::parse down in simpler methods.

TapParser: ignore leading garbage and properly complain on missing TAP log.

TapParser: detect and report duplicated TAP log.

TapParser: got rid of the "test" and "suite" values.

They are only available with PHPUnit.

TapParser: append the message from yaml diagnostic to existing message.

Reworked the dispaly of test results.

PHPUnit plugin: pretty print test data.
2015-04-09 12:00:10 +02:00
Stephen Ball fdaaa1ede4 Parsing variables in the code coverage output directory for PHPUnit 2015-03-16 11:10:03 +00:00
Stephen Ball 52b2f87df2 Parsing variables in the Wipe plugin 2015-03-16 11:09:45 +00:00
Stephen Ball 9ad0e90fa1 Preventing the plugin failing due to an undefined variable 2015-03-16 11:05:33 +00:00
Stephen Ball 70f0d2516f Removed log output so that it matches the other plugins which don't pollute the build log, and to prevent issues with the log output not being escaped 2015-03-13 13:31:38 +00:00
Thomas Frei 542d2a3545 Remove short array syntax to keep backwards compatibility with php5.3 2015-03-06 17:44:22 +01:00
Nathan Jovin 610d0991a8 Fix issue #840 Technical Debt not storing data nor displaying results in table 2015-03-05 00:12:42 -08:00
Dan Cryer 86b9c05f98 Fixing PHPCS errors. 2015-02-26 08:45:42 +00:00
Adirelle 4905679298 Email plugin: use "default_mailto_address" as a fallback only.
Closes #730
2015-02-23 14:16:35 +00:00
Matthew Leffler ea3109be67 Convert tapString to UTF-8, allowing UTF8 output from PHPUnit, etc.
Closes #738
2015-02-23 14:15:11 +00:00
Àlex Corretgé 601318b97b Fix the problem when executing Phing out of the build dir.
Closes #778
Closes #748
2015-02-23 13:53:38 +00:00
Dan Cryer dd58dd682f Adding support for commenting on Github diffs. 2015-02-23 13:40:34 +00:00
Dan Cryer 071e36a4e9 Slight cleanup to please PHPMD. 2015-02-20 14:24:37 +00:00
James Inman 9133c544d5 Adding output support to Behat plugin. 2015-02-20 13:38:42 +00:00
Dan Cryer aca8155a43 Merge branch 'master' of github.com:Block8/PHPCI 2015-02-20 12:46:50 +00:00
Dan Cryer 69d05d6da8 Setup plugin failure should cease execution. Fixes #797 2015-02-20 12:46:43 +00:00
James Inman 6c8df9a8ce Fix missing return statement in Technical Debt. 2015-02-19 13:37:35 +00:00
James Inman 5bb68507d8 Fixing Technical Debt error message. 2015-02-18 14:56:04 +00:00
James Inman d6f72b0b7e PHPCS/PHPMD fixes for Technical Debt plugin. 2015-02-18 14:44:04 +00:00
James Inman 2a5ac8ccbc PHPCS/DocBlock fixes to Technical Debt plugin. 2015-02-18 14:15:59 +00:00
James Inman 8f5d855193 Adding Technical Debt plugin. 2015-02-18 14:07:26 +00:00
Daniel Wolkenhauer 33f2ec172d Fatal error: Call to undefined method PHPCI\Helper\Email::setIsHtml() in ../Email.php on line 107 2015-02-16 18:51:05 +01:00
Marco Vito Moscaritolo cbd98b6b46 Fixed typo. 2015-02-16 14:55:20 +01:00
Marco Vito Moscaritolo 2d194de6d0 Fixed code in CC mails. 2015-02-16 14:54:41 +01:00
Marco Vito Moscaritolo f16395e45b Use more consistent project name loader to compose mail. 2015-02-16 14:52:48 +01:00
Marco Vito Moscaritolo f192185e26 Refactor on mail sending to use Email helper and specific tempalte for successfull build. 2015-02-16 14:51:14 +01:00
Dan Cryer 4d142b61b6 Fixing other tests 2015-02-16 11:58:15 +00:00
Igor Timoshenko 55b10948ef Added Codeception UI plugin 2015-02-16 11:47:07 +01:00
Dan Cryer c20ca7c8ff Lots of cleanup. 2015-02-12 14:11:58 +00:00
Dan Cryer 6576974584 Cleaning up permissions on a few files. 2015-02-12 13:42:07 +00:00
Dan Cryer dcbad55df8 Fixing FIXMEs 2015-02-12 13:30:32 +00:00
Dan Cryer 36e3c622c8 Fixing missing use statements 2015-02-12 11:42:09 +00:00
vigo5190 4d91bd15e7 Update Slack plugin to support the latest version of the library it relies on.
Closes #742
Closes #747
2015-02-09 12:14:30 +00:00
Adirelle 353c4cafdb Remove duplicates from the list of recipients in the email plugin.
Closes #731
2015-02-03 11:58:18 +00:00
Sergey Linnik 96b1df55b0 Add query interpolation in PostgreSQL and SQLite plugin.
Closes #757
2015-02-03 11:33:55 +00:00
Dan Cryer e9e0ba8593 Merge pull request #722 from REBELinBLUE/slack-bug-fix
Fixing issue with status overwriting message
2014-12-23 15:41:45 +00:00
Stephen Ball 44f1445bbe Fixing issue with status overwriting message 2014-12-23 15:30:09 +00:00
Dan Cryer 0afc28cb69 Fixes 2014-12-22 16:18:33 +00:00
Stephen Ball fd8f318401 Add a plugin to handle sending notifications to Slack (https://slack.com/)
Closes #720
2014-12-22 16:03:09 +00:00
Dan Cryer 72581aa01e Merge fixes 2014-12-18 10:45:21 +00:00
Stephen Ball 768a8a180c New plugin to support PHP TAL linting.
Closes #701
2014-12-18 09:45:17 +00:00
Guillaume Perréal a2e97c69ac Prepend the build path to ignored directories in PhpParallelLint.php.
Closes #710
2014-12-18 09:40:25 +00:00
Guillaume Perréal 0beb77113a Have the PhpUnit plugin reports an explicit error when no test are configured.
Closes #711
2014-12-18 09:38:36 +00:00
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