Commit graph

1,685 commits

Author SHA1 Message Date
MarkMaldaba
09c546df58 Replacing .gitkeep with .gitignore, so that artifacts created in the build directories are properly ignored, and don't end up being committed to the repo on accident. 2013-05-16 12:55:29 +01:00
Dan Cryer
eb8383ff5c Fix for signing in with Github when adding a new project. 2013-05-16 01:41:20 +01:00
Dan Cryer
e1437a9e55 Updating README to cover new MySQL settings. 2013-05-16 01:00:55 +01:00
Dan Cryer
450d03aeb9 Adding PgSQL plugin, powered by PDO. Accepts connection parameters from build_settings.pgsql 2013-05-16 00:52:18 +01:00
Dan Cryer
3ac5df9eb3 Updating MySQL plugin to use PDO, and accept connection parameters from build_settings.mysql 2013-05-16 00:51:48 +01:00
Dan Cryer
d4835b46fa Fixing LocalBuild, it was in the wrong namespace. 2013-05-16 00:51:12 +01:00
Dan Cryer
aaeda894ae Fixing the add / edit project form to make the reference field validation more intelligent. Fixes #19 2013-05-16 00:33:12 +01:00
Dan Cryer
9d53646708 Merge branch 'master' of github.com:Block8/PHPCI 2013-05-16 00:19:41 +01:00
Dan Cryer
f40fcd965f Merge pull request #31 from meadsteve/unit-testing
Add Unit testing to PHPCI
2013-05-16 03:35:34 -07:00
meadsteve
2914e3a87d Added a unit test case for the PHPUnit plugin. It's not fully comprehensive but good to get these started. 2013-05-16 10:52:33 +01:00
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