Commit graph

296 commits

Author SHA1 Message Date
Stephen Ball
1eb5248319 Removed allowed_warnings as it is not used
Calling setOptions

Closed #975
2015-05-28 12:03:23 +02:00
Adirelle
3734d3bc9a Don't use an if and two return statements when one return is sufficient.
Don't use two if when one else does the same job.
Don't use convoluted calculations when one return statement is sufficient.
Don't call a method that doesn't exist.
Don't write a try-catch block that does nothing.
Do send exceptions when a abnormal situation occurs.

Closed #962
2015-05-28 12:00:43 +02:00
Petr Cervenka
7ff080971e Adding Flowdock integration
Closed #954
2015-05-28 11:47:57 +02:00
Adirelle
ad29ba4cfd Track and display the build progression, for each stages and plugins.
Translations for the build summary.

Closed #944
2015-05-28 11:39:35 +02:00
Adirelle
5cd29ca7fc Allow to specify a mail template ('short' or 'long') in phpci.yml.
Email plugin: checks if the custom template exists before trying to use it.

Closed #933
2015-04-28 14:09:23 +02:00
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
9ad0e90fa1 Preventing the plugin failing due to an undefined variable 2015-03-16 11:05:33 +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