Commit graph

34 commits

Author SHA1 Message Date
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
Adirelle
8f8b6d823b Build::removeBuildDirectory: do not try to remove build directory of not-yet-persisted builds. 2015-04-25 21:25:50 +02:00
Adirelle
ccdc73326d Added a new configuration variable, PHPCI_BUILD_ROOT_DI.
This variable allows to change where the build happens.
It defaults to PHPCI_DIR.'PHPCI/build/'.

Moved build path calculate and build removal into the Build class.

Also remove the build directory when deleting the build.

Close #834
2015-04-22 11:44:54 +02:00
Dan Cryer
c914a25ff2 Adding support for commenting on Github diffs. 2015-02-23 13:40:34 +00:00
Dan Cryer
f1b4c1246b Fixing missing docblock error. 2015-02-03 11:10:22 +00:00
Alex Davyskiba
46aae66700 Escape commit message from XSS and broken markup.
Closes #769
2015-02-03 10:27:36 +00:00
Dan Cryer
9fda9ed989 Adding Docblocks throughout the project and lowering the missing docblock limit in phpci.yml to zero.
Closes #692
2014-12-08 14:12:01 +00:00
Dan Cryer
4d2583e536 More service layer functionality, builds now. Also some extra tests for projects and build models. 2014-07-14 16:02:36 +01:00
Dan Cryer
d098fabdb6 Adding / correcting the file docblock throughout the project 2014-05-12 17:26:17 +01:00
Dan Cryer
3f8599b8c7 Fixing build model 2014-05-12 15:22:32 +01:00
Dan Cryer
8430f87f40 Fixing build model 2014-05-12 15:20:42 +01:00
Dan Cryer
4fc3654a25 Updating Build model to add accessor for the extra column 2014-05-12 14:07:09 +01:00
Dan Cryer
e145d27c9b Fixing zero config ignore setting 2014-05-08 16:02:51 +00:00
Dan Cryer
a348094d01 Adding getFileLinkTemplate() to the default Build model. Fixes #375 2014-04-30 14:20:20 +01:00
Dan Cryer
e7e8455887 Setting allowed_warnings and allowed_errors to 0 by default, -1 in zero config mode. Fixes #377 2014-04-30 14:18:58 +01:00
Dan Cryer
66bfcea8ed Migrating PHPMD to use XML report format and add a UI plugin to display warning information. See #305 2014-04-25 11:28:27 +00:00
Dan Cryer
4363cb1966 Adding the ability to run projects with no build configuration. Runs what plugins it can automatically. Closes #235 2014-04-25 10:17:39 +01:00
Dmitry Khomutov
6a23c79919 Inverted priority of configs: phpci.yml is primary now 2014-04-10 23:41:02 +07:00
Dmitry Khomutov
ea35f24d47 Moved handleConfig functionality into general Build method. 2014-03-15 12:22:59 +07:00
Dan Cryer
192fa20284 Fixing getAccessInformation() 2014-02-26 15:23:24 +00:00
Dan Cryer
48a8c8b89a Merge branch 'master' of github.com:Block8/PHPCI 2014-02-26 15:18:54 +00:00
Dan Cryer
ac0bac111a Fixing getAccessInformation() 2014-02-26 15:18:46 +00:00
meadsteve
2b93fe0c94 add getProjectTitle convenience method to the Build class. 2014-02-25 22:36:20 +00:00
Dan Cryer
d935c94041 Lots of clean up: Fixed remote git build to only checkout a commit if there is one, cleaned up logging to remove the logger cruft from the visible log and shortened paths within the log by removing the build directory, added a build-level exception handler to catch things like failed clones and so on. 2014-02-25 10:16:58 +00:00
Dan Cryer
77fae9a56d Holy cleanup, batman. 2013-10-10 01:01:06 +01:00
Dan Cryer
14841477a6 Improved commenting throughout the project. Fixes #18 2013-05-16 17:17:29 +01:00
Dan Cryer
11a3e3403f PHPCI/Helper and PHPCI/Model PSR2 compliance. Issue #18 2013-05-16 15:41:15 +01:00
Dan Cryer
160540b6ee Add class-level docblock to every file. 2013-05-16 02:30:48 +01:00
Dan Cryer
6094b7013c Add file-level docblock to every file. 2013-05-16 02:16:56 +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
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
3647ac1cd8 Big update. 2013-05-10 12:28:43 +01:00
Dan Cryer
2c860e8009 Initial commit. 2013-05-03 16:02:53 +01:00