Commit graph

1,283 commits

Author SHA1 Message Date
Marco Vito Moscaritolo
e0803df283 Fixed dockblock. 2015-05-31 17:32:03 +02:00
Marco Vito Moscaritolo
9d03112aed Fixed indendentation. 2015-05-31 17:26:53 +02:00
Marco Vito Moscaritolo
b1e387e195 Shields.io integration cleanup. 2015-05-31 17:09:17 +02:00
Marco Vito Moscaritolo
f125047951 Use a HttpClient service to get the shield.io badge. 2015-05-31 16:56:42 +02:00
Marco Vito Moscaritolo
e977360083 Added BuildStatus::ccxml tests. 2015-05-31 16:32:50 +02:00
Marco Vito Moscaritolo
180bdcf4fe Improve CS. 2015-05-31 16:01:51 +02:00
Marco Vito Moscaritolo
7d9e065963 Fixed tests after DIC introduction refactoring. 2015-05-31 15:19:20 +02:00
Marco Vito Moscaritolo
98221397b5 Check about bootstrap for test phase. 2015-05-31 15:15:38 +02:00
Marco Vito Moscaritolo
4b957e8d5d Daemon application using DIC. 2015-05-31 15:06:45 +02:00
Marco Vito Moscaritolo
56082f201b Controller are now services. 2015-05-31 13:31:34 +02:00
Marco Vito Moscaritolo
b6f25e77c3 Load controller as services. 2015-05-31 13:31:16 +02:00
Marco Vito Moscaritolo
601d42ea6e Added container service into application. 2015-05-31 13:30:38 +02:00
Marco Vito Moscaritolo
7e71e2ec7b User services in rebuild command. 2015-05-31 11:43:21 +02:00
Marco Vito Moscaritolo
6a43003f24 User services in rebuild command. 2015-05-31 11:41:18 +02:00
Marco Vito Moscaritolo
a461fb580d Update poll command to use services. 2015-05-31 11:33:44 +02:00
Marco Vito Moscaritolo
86de54b658 Use config as service. 2015-05-31 11:20:31 +02:00
Marco Vito Moscaritolo
455f9a59a8 Remove unrequired parameters from CLI command constructors. 2015-05-31 11:20:18 +02:00
Marco Vito Moscaritolo
bfe21bc687 Remove unrequired parameters from CLI command constructors. 2015-05-31 11:18:04 +02:00
Marco Vito Moscaritolo
5a516732ed Move process controlll initialization in config. 2015-05-31 11:13:16 +02:00
Marco Vito Moscaritolo
e4e08e32b0 Use user service to manage user on admin command. 2015-05-31 11:06:19 +02:00
Marco Vito Moscaritolo
74ed1b14e1 Use user service to manage user on admin command. 2015-05-31 11:05:49 +02:00
Marco Vito Moscaritolo
063bec407d Move CLI app to use DIC. 2015-05-31 11:01:40 +02:00
Marco Vito Moscaritolo
3eb1648e13 Swtich DIC to symfony container. 2015-05-31 10:33:27 +02:00
Marco Vito Moscaritolo
a0e72b9bc7 Remove new instance of each store. 2015-05-30 23:24:14 +02:00
Marco Vito Moscaritolo
a9545e4104 Added store.entity services and fixed application to use it. 2015-05-30 23:20:13 +02:00
Marco Vito Moscaritolo
ebf5a5dd7b First draft of DIC initialization with config. 2015-05-30 23:04:47 +02:00
Marco Vito Moscaritolo
65aba6b3c6 Update pimple to version 3. 2015-05-30 21:33:48 +02:00
Adirelle
d698b11673 Fixes "Undefined index: login_token".
Fixes https://github.com/Block8/PHPCI/issues/994.
2015-05-30 21:16:31 +02:00
Aleix Canal
3a6008db53 Bugfix: Default codeception xml path "tests/_output/" but now 100% configurable.
Closed #991
2015-05-28 12:18:24 +02:00
tankist
9ace15a55f 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
3784cc8ea9 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
mulleto
d34818f029 Added missing strings in german translation
Closed #982
2015-05-28 12:05:58 +02:00
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
Adirelle
b7d9af1e72 Update sensiolabs/ansi-to-html to fix the log background.
Closed #961
2015-05-28 11:59:17 +02:00
corpsee
5c6dd81a9a Extended shields.io status badge support
Closed #958
2015-05-28 11:50:57 +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
8549ba30cf PHPUnit display: escape HTML code in test messages.
PHPUnit display: display data produced before the TapParser refactoring.

Closed #937
2015-05-28 11:14:20 +02:00
Adirelle
4edefee761 Reworked the DaemonCommand.
* Accepts options for PID and log file.
* Uses posix_kill whenever available.
* Checks that the daemon actually started or stopped.
* Try to terminate then kill the daemon.
* Uses the logger or output instead of "echo".

Added a ProcessControl interface and implementations.

Closed #908
2015-05-28 10:55:59 +02:00
Vaidas Zilionis
15b6917f68 Allow see project build status in cctray xml format
Refactoring is done for BuildStatus information.
- Fixed all phpcs, phpmd errors
- Added test for my code (hurray 100 tests already :D)

Closed #705
2015-05-28 10:50:29 +02:00
Victor
0887bd4bc4 Fix for strict standards issue in RebuildCommand.php
[ErrorException]
Runtime Notice: Only variables should be passed by reference in /var/www/phpci/PHPCI/Command/RebuildCommand.php line 78
2015-05-15 16:37:45 +02:00
Adirelle
8bf1d09afd Black-on-white color theme for the build log. 2015-04-28 14:14:25 +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
Adirelle
590ab5fae5 Build::removeBuildDirectory: do not try to remove build directory of not-yet-persisted builds. 2015-04-25 21:25:50 +02:00
Adam Cooper
3ca1667f12 Revert CSS file change made in error as part of the codeception update
Close #935
2015-04-23 17:01:44 +02:00
Adirelle
f46a8be648 LoggerConfig::getFor always returns the same instance of Logger for the same $name.
This avoid issues when push handlers/processors to that logger.
Use the Monolog\ErrorHandler to log errors and exceptions.
PHPCI/Logging/Handler becomes PHPCI/ErrorHandler.
And it only throws ErrorException for reported errors.
No need to initialize a second $loggerConfig in daemonise.

Close #892
2015-04-23 13:25:53 +02:00
Adirelle
5688d9c4c8 The manual build button creates build for the currently watched branch.
Close #927
2015-04-23 13:23:13 +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
209454c5f6 When starting a manual build, replace the "Manual" commit id with the HEAD hash.
Close #928
2015-04-23 13:13:29 +02:00