Commit graph

311 commits

Author SHA1 Message Date
Dan Cryer
6ad14a8035 Add "source" and "url" parameters to Deployer plugin. 2015-10-06 14:16:48 +01:00
Dan Cryer
a10d1b846e Deployer plugin 2015-10-06 12:00:58 +01:00
Dan Cryer
1c2137bf5d Merge pull request #1066 from REBELinBLUE/hide_yml_file
Adding support to check for .phpci.yml so the file can be 'hidden'
2015-10-05 15:23:20 +01:00
Dan Cryer
3fc6bbef88 Fixing new PHPCS errors. 2015-10-05 14:17:13 +01:00
Stephen Ball
8511e2a251 Adding support to check for .phpci.yml so the file can be 'hidden' as with other CI systems such as Travis, StyleCI and Codeclimate 2015-10-04 17:38:03 +01:00
Dan Cryer
11d1c5bfdc Merge pull request #872 from REBELinBLUE/additional_interpolate
Additional interpolate
2015-10-02 22:14:14 +01:00
Dan Cryer
465406b24f Merge pull request #869 from REBELinBLUE/technical_debt_cleanup
Cleanup technical debt
2015-10-02 22:12:50 +01:00
Dan Cryer
c2f305bf54 Fixing Codeception plugin PHPCS errors. 2015-10-02 21:53:39 +01:00
Dariusz Ruminski
9b5f3bb4ae PHP CS Fixer - fix name
Closed #1054
2015-10-02 13:54:25 +02:00
Aleix Canal
2566bf3c78 Bugfix: Default codeception xml path "tests/_output/" but now 100% configurable.
Closed #991
2015-05-28 12:18:24 +02:00
tankist
d8e19e9f15 Fix for #988
Added class::method fallback for feature entry to prevent empty report for Codeception plugin

Closed #989
2015-05-28 12:10:14 +02:00
mulleto
fe1d234f6c Adding an option for Plugin::Composer to pass the no_dev option. If set to true, it will execute composer with the --no-dev option, which usually suffices for testing in most projects. Default is set to false.
Closed #987
2015-05-28 12:08:30 +02:00
Stephen Ball
087cde47e8 Removed allowed_warnings as it is not used
Calling setOptions

Closed #975
2015-05-28 12:03:23 +02:00
Adirelle
f6f4a23b8c 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
811d6dc057 Adding Flowdock integration
Closed #954
2015-05-28 11:47:57 +02:00
Adirelle
8ba7f1f9dc 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
33e8a1a0f6 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
fa99684d89 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
425735c2a5 Let CommandExecutor::findBinary throw an exception when the binary is missing.
Close #910
2015-04-22 12:19:05 +02:00
Angel Koilov
c1b9766bfe add pingback for IRC plugin
Close #886
2015-04-22 11:58:43 +02:00
Adirelle
bc65445c05 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
53f9105a9a 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
b3f72de0fe Change xmpp config and message files directory 2015-04-09 12:08:27 +02:00
Angel Koilov
5afa26bf05 remove unnecessary code 2015-04-09 12:06:32 +02:00
Adirelle
bc634a570f 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
bdf17a3727 Parsing variables in the code coverage output directory for PHPUnit 2015-03-16 11:10:03 +00:00
Stephen Ball
b78f144f0e Parsing variables in the Wipe plugin 2015-03-16 11:09:45 +00:00
Stephen Ball
e0750cf9cc Preventing the plugin failing due to an undefined variable 2015-03-16 11:05:33 +00:00
Stephen Ball
3b05f05f1c 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
985a21479c Remove short array syntax to keep backwards compatibility with php5.3 2015-03-06 17:44:22 +01:00
Nathan Jovin
0392c4aaf6 Fix issue #840 Technical Debt not storing data nor displaying results in table 2015-03-05 00:12:42 -08:00
Dan Cryer
e7a270f60a Fixing PHPCS errors. 2015-02-26 08:45:42 +00:00
Adirelle
f28d72fb64 Email plugin: use "default_mailto_address" as a fallback only.
Closes #730
2015-02-23 14:16:35 +00:00
Matthew Leffler
a1dcba93db Convert tapString to UTF-8, allowing UTF8 output from PHPUnit, etc.
Closes #738
2015-02-23 14:15:11 +00:00
Àlex Corretgé
18e263a8ad 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
c914a25ff2 Adding support for commenting on Github diffs. 2015-02-23 13:40:34 +00:00
Dan Cryer
87abe2c712 Slight cleanup to please PHPMD. 2015-02-20 14:24:37 +00:00
James Inman
2ed0611418 Adding output support to Behat plugin. 2015-02-20 13:38:42 +00:00
Dan Cryer
faac320e59 Merge branch 'master' of github.com:Block8/PHPCI 2015-02-20 12:46:50 +00:00
Dan Cryer
98fa3ce334 Setup plugin failure should cease execution. Fixes #797 2015-02-20 12:46:43 +00:00
James Inman
2a5b0bc887 Fix missing return statement in Technical Debt. 2015-02-19 13:37:35 +00:00
James Inman
b233bf7bd4 Fixing Technical Debt error message. 2015-02-18 14:56:04 +00:00
James Inman
58620d9384 PHPCS/PHPMD fixes for Technical Debt plugin. 2015-02-18 14:44:04 +00:00
James Inman
181d7b4b15 PHPCS/DocBlock fixes to Technical Debt plugin. 2015-02-18 14:15:59 +00:00
James Inman
6be867a517 Adding Technical Debt plugin. 2015-02-18 14:07:26 +00:00
Daniel Wolkenhauer
8ba9738add 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
9874f342d4 Fixed typo. 2015-02-16 14:55:20 +01:00
Marco Vito Moscaritolo
06e7b9f2f6 Fixed code in CC mails. 2015-02-16 14:54:41 +01:00
Marco Vito Moscaritolo
f752962202 Use more consistent project name loader to compose mail. 2015-02-16 14:52:48 +01:00
Marco Vito Moscaritolo
3567742dcf Refactor on mail sending to use Email helper and specific tempalte for successfull build. 2015-02-16 14:51:14 +01:00