Commit graph

1431 commits

Author SHA1 Message Date
Stephen Ball ad0fd5d00a Update Build.php
Changed the order the files are loaded in
2015-10-05 10:17:04 +01:00
Dan Cryer 07711a4e04 More composer.json cleanup 2015-10-05 09:57:50 +01:00
Dan Cryer 20521beee3 Merge branch 'master' of github.com:Block8/PHPCI 2015-10-05 09:56:42 +01:00
Dan Cryer d7e9d3621d Fixing composer.json 2015-10-05 09:56:36 +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
Dan Cryer d6f20f7a66 Updating PHPCI to send more detailed commit statuses, for @REBELinBLUE. 2015-10-02 21:35:53 +01:00
Dariusz Ruminski 9b5f3bb4ae PHP CS Fixer - fix name
Closed #1054
2015-10-02 13:54:25 +02:00
Mehmet Ali Ergut 696ab6eddd Fixes default value for PHP Cs Fixer ( #833 ) 2015-08-24 21:24:37 +03:00
Steve Robbins ddcdaf906c Fixes notice in github builds
Closed #996
2015-08-13 14:28:08 +02:00
DELORME Jonathan 5ccec4d19c Fixed a css issue with Block8 logo
In Chrome (Android L), when you focus an input, the Block8 logo overrides the view.
See : http://s10.postimg.org/d5ffp7dwp/2015_06_30_07_57_03.png
2015-06-30 11:43:25 +02:00
Mark Robinson 2ae9faf433 Corrected a number of minor spelling errors.
Originally observed that "successful" was misspelled "succesfull" on the build view page. While correcting that, a number of other spelling errors were also corrected.
2015-06-25 15:21:23 +01:00
Joe Huss f2234aa421 Contribution Type: improvement / new feature
Primary Area: plugins

Description of change: Implemented using the same changes mentioned here: https://www.phptesting.org/forums/topic/5-mysql-plugin-setup/
Allows you to specify a hostname for your mysql connection.  Not my original code just patching it into the current source and made a branchs/push for it.

(i.e. Created a new plugin named ToolX, used library X to implement, see link)
2015-06-25 07:48:26 -04:00
Adirelle e4721cb393 Fixes "Undefined index: login_token".
Fixes https://github.com/Block8/PHPCI/issues/994.
2015-05-30 21:16:31 +02:00
mulleto 01765dfbfa Make check for Pdepend output dir more robust. Before this fix, the pdepend module would check for "is_writable", which returns false even when the directory does not exist. I suggest to a) attempt to crete the dir if it does not exist, and b) make the error message more explanatory in case the dir cannot be created or is not accessible. 2015-05-29 08:26:47 +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
mulleto d92ea1840e Added missing strings in german translation
Closed #982
2015-05-28 12:05:58 +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
Adirelle 3a629d2bba Update sensiolabs/ansi-to-html to fix the log background.
Closed #961
2015-05-28 11:59:17 +02:00
Dmitry Khomutov e719920b7c Extended shields.io status badge support
Closed #958
2015-05-28 11:50:57 +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 96e6a196cf 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 7de9023810 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 8fc4c51d54 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
Dmitry Khomutov 498a3e90e8 Fixed GithubBuild::getDiffLineNumber method for correct phpcpd work 2015-05-24 14:20:51 +06:00
Dmitry Khomutov f7724b44fb Fixed TapParser::parseLine Cyclomatic Complexity 2015-05-24 12:43:43 +06:00
Dmitry Khomutov bfff69fe9c Fixed TapParser::parseLine Cyclomatic Complexity 2015-05-24 12:39:27 +06:00
Dmitry Khomutov 4fd182382d Fixed TapParser parse fail with valid data + added tests 2015-05-23 15:40:49 +06:00
Victor a22390c83d 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 31e89377ad Black-on-white color theme for the build log. 2015-04-28 14:14:25 +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
Adirelle 8f8b6d823b Build::removeBuildDirectory: do not try to remove build directory of not-yet-persisted builds. 2015-04-25 21:25:50 +02:00
Dmitry Khomutov 184ac8aab2 Separated strings for 'archived'/'archived_menu' 2015-04-25 09:54:08 +06:00
alton.crossley f9451c9c9a adding windows batch file for console 2015-04-23 14:35:15 -06:00
Adam Cooper b98acaa776 Revert CSS file change made in error as part of the codeception update
Close #935
2015-04-23 17:01:44 +02:00
Adirelle 7c622bd712 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 4e6ecaac83 The manual build button creates build for the currently watched branch.
Close #927
2015-04-23 13:23:13 +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 3427252cfe When starting a manual build, replace the "Manual" commit id with the HEAD hash.
Close #928
2015-04-23 13:13:29 +02:00
Dmitry Khomutov 3c7cddcc1c Fixed ru strings for create build command (https://github.com/Block8/PHPCI/pull/889)
Fixed ru strings for 'archived'

Close #932
2015-04-23 10:33:38 +02:00
Dmitry Khomutov f0439782ba Improved login: now you can login using name or email
Close #873
2015-04-22 13:54:02 +02:00
Alexander Garzon d84006d7c7 Update lang.es.php
Missing translation for "archived"

Close #931
2015-04-22 12:26:51 +02:00
Adam Henley b51ab2db57 SMTP Password not masked PR #921
Signed-off-by: Adam Henley <adamazing@gmail.com>

Close #923
2015-04-22 12:26:06 +02:00
rm3nchaca b9f9fdb1b8 fix file link in plugins
Running builds leave a file link with an error like "http://gitlab.example.com/root/project/blob/master/index.php#L6" but it is pointing to the actual file, not the file with a bug, example "97f0a6453d/index.php (L6)"

Close #915
2015-04-22 12:24:29 +02:00