Commit graph

75 commits

Author SHA1 Message Date
Dan Cryer a5a03e1f07 Switching executeCommand() to use sprintf for parameters, and all the plugins to pass params separately. See #12, closes #24 2013-05-16 00:19:24 +01:00
Dan Cryer be37a5e821 Refactoring builds out into separate model types (Github, Bitbucket, Local) and builder to use build->createWorkingCopy() to make build directory. Fixes #29 2013-05-15 23:47:37 +01:00
Dan Cryer 1a92d1c619 Fixing the console app so that it installs and runs composer if not present. 2013-05-15 22:29:09 +01:00
Dan Cryer 68c6f14cec Merge pull request #30 from meadsteve/phpunit-comment-tweak
Phpunit comment tweak
2013-05-16 01:56:26 -07:00
meadsteve 83f857095d Updated the comments in the PHPUnit plugin to relfect the fact that directory and config file can also be arrays of strings. 2013-05-16 09:54:15 +01:00
meadsteve 9a3f1af008 Merge branch 'master' of https://github.com/Block8/PHPCI 2013-05-16 09:46:32 +01:00
Dan Cryer 9848fa42d9 Merge pull request #27 from kamermans/master
Build error: Fatal error: Using $this when not in object context
2013-05-16 01:46:00 -07:00
Steve Kamerman ead7f9a5eb Added comments 2013-05-15 23:50:21 -04:00
Steve Kamerman d3f61ab79e Getting to the bottom of the logging issue 2013-05-15 23:43:34 -04:00
Steve Kamerman dae10c1977 Added phpunit flag to allow running tests from an alternate working directory 2013-05-15 23:26:49 -04:00
Steve Kamerman 440d600665 Fixed error about using $this outside of object context 2013-05-15 20:26:45 -04:00
Steve Kamerman 55a823fd9a Merge branch 'master' of https://github.com/Block8/PHPCI 2013-05-15 17:24:17 -04:00
Dan Cryer ee4a8fd781 Merge pull request #26 from gabriel403/hotfix/symlinkcheck
Hotfix/symlinkcheck
2013-05-15 14:10:57 -07:00
Gabriel Baker 776046c7fb Include build dir by default 2013-05-15 22:01:02 +01:00
Gabriel Baker a4a443f255 fix symlink check and build dir 2013-05-15 21:53:36 +01:00
Steve Kamerman 1372a81926 Ignore Eclipse environment files 2013-05-15 15:53:00 -04:00
Dan Cryer 48ed635f63 Merge branch 'master' of github.com:Block8/PHPCI 2013-05-15 19:38:08 +01:00
Dan Cryer 2b709d25e8 Fix 2013-05-15 19:37:56 +01:00
Dan Cryer 2624ea7824 Updating README to mention the mailing list. 2013-05-15 20:35:26 +02:00
Dan Cryer 674744d6f1 Merge pull request #23 from MarkMaldaba/readme_update
Updated minimum PHP version in README.md.
2013-05-15 10:44:48 -07:00
MarkMaldaba 4e9672057c Updated minimum PHP version in README.md.
Symfony/YAML requires PHP 5.3.3 (and Composer requires 5.3.2, so there is not a great compatibility loss by the recent switch away from the PECL extension for YAML).
2013-05-15 18:33:53 +01:00
Dan Cryer acbec4447b Updating README and composer.json for symfony/console 2013-05-15 18:29:32 +01:00
Dan Cryer 988fa42d92 Updating PHPCI to use Symfony/Console rather than a series of individual PHP files. 2013-05-15 18:27:13 +01:00
Dan Cryer 505b0c0563 Updating base models to ones generated by the new b8framework generator. Now include strict typing, proper commenting and better formatting. Fixes #13 2013-05-15 17:28:36 +01:00
Dan Cryer 20bb2e7a10 Merge pull request #16 from MarkMaldaba/shorttag_fix
Follow-up to commit fa7ad2f45ddea003258b0448fd1038650ec2f66b...
2013-05-15 08:35:28 -07:00
MarkMaldaba f5e1d969fd Follow-up to commit fa7ad2f45d, which replaced short-tags with print statements. This one was missed (or, perhaps, has since crept in). A CodeSniffer test candidate, methinks! 2013-05-15 16:31:21 +01:00
Dan Cryer 99884c2800 Merge pull request #15 from MarkMaldaba/windows_tempfolder_fix
Looks good to me.
2013-05-15 08:29:34 -07:00
MarkMaldaba 251f4d6713 Fix for running PHP under CGI on Windows machines. In this situation, the environement variables defining the system temp path are not necessarily available to PHP, so sys_get_temp_dir() falls back to using the system path (e.g. C:\WINDOWS), which is normally unwritable. This means that temp-file creation fails.
I've added code to detect this situation, and if it occurs we point it to %SystemRoot%\TEMP instead, which usually is present and writable.  May not fix 100% of cases, but should fix the vast majority of situations where this may occur.
2013-05-15 16:04:55 +01:00
meadsteve 7531840004 Merge branch 'master' of https://github.com/Block8/PHPCI 2013-05-15 15:04:09 +01:00
meadsteve 9c0c28a67f Merge branch 'php-unit-xml-config'
Conflicts:
	PHPCI/Plugin/PhpUnit.php
2013-05-15 15:01:08 +01:00
Dan Cryer c08825d7c3 Merge pull request #14 from meadsteve/php-unit-xml-config
Modification to PHPUnit plugin to take multiple dirs and config files
2013-05-15 06:22:05 -07:00
meadsteve 24e709f77e Modified the PHPunit plugin so that it can take multiple config files and dirs and will combine the results of each. 2013-05-15 13:41:30 +01:00
meadsteve a0528d2cc4 Added argument to Phpunit plugin: config. This takes the path to an xml configuration file which will be run instead of the specified directory. 2013-05-15 13:03:37 +01:00
meadsteve 1b93921cd0 Added argument to Phpunit plugin: config. This takes the path to an xml configuration file which will be run instead of the specified directory. 2013-05-15 13:01:47 +01:00
Dan Cryer c9b17e3534 Merge pull request #6 from Block8/feature/github_integration
Merging Github integration. Drop down select repositories, Github commit statuses.
2013-05-15 01:30:14 -07:00
Dan Cryer 5ae4ba03bf Fixing phpci.yml, use spaces not tabs 2013-05-14 20:00:52 +01:00
Dan Cryer be838c6765 Merging master to bring github branch into line. 2013-05-14 19:57:37 +01:00
Dan Cryer fa18d89ddc Adding support for local path based projects. See pull #2 2013-05-14 19:44:14 +01:00
Dan Cryer 5f9f839613 Removing the extra /tmp from sys_get_temp_dir() 2013-05-14 18:34:26 +01:00
Dan Cryer 62e731abad Merge pull request #8 from meadsteve/master
Fix temp directory for ssh-keygen on windows systems
2013-05-14 12:48:27 -07:00
Dan Cryer 9f0e04d8e3 Merge pull request #9 from meadsteve/symfony-yaml
Merging the use of the Symfony YAML parser, removing the requirement for the YAML extension. Thanks @meadsteve :)
2013-05-14 12:46:42 -07:00
Dan Cryer fa7ad2f45d Removing short open tags and replacing with print statements. 2013-05-14 18:28:03 +01:00
meadsteve b71849a9c4 I've replaced the requirement for the pecl yaml extension with the symphony component. Sometimes I work on a windows box and the instructions for installing pecl yaml on windows looked a little intimidating:
https://code.google.com/p/php-yaml/wiki/InstallingWithPecl
2013-05-14 18:15:57 +01:00
meadsteve bdaf5abff7 I've replaced the requirement for the pecl yaml extension with the symphony component. Sometimes I work on a windows box and the instructions for installing pecl yaml on windows looked a little intimidating:
https://code.google.com/p/php-yaml/wiki/InstallingWithPecl
2013-05-14 18:07:46 +01:00
meadsteve 0a9c7bda93 On a windows system having a file path like '/tmp/' . md5(microtime(true)) caused problems. I've updated this to use the system temp directory. 2013-05-14 18:01:14 +01:00
Dan Cryer 918b4deff4 Adding Github statuses integration 2013-05-14 17:49:39 +01:00
Dan Cryer 812dfcb95a Github pull request status updates 2013-05-14 16:58:14 +01:00
Dan Cryer dfeac39be3 Github integration. 2013-05-14 16:37:54 +01:00
Dan Cryer 9ea3a22864 Adding support for PHPSpec. 2013-05-14 14:37:14 +01:00
Dan Cryer 927d4f5133 Removing un-minified bootstrap JS, and a star ratings library carried over when starting the project. 2013-05-14 13:11:30 +01:00