Download the PHP package presta/meta-ci without Composer
On this page you can find all versions of the php package presta/meta-ci. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download presta/meta-ci
More information about presta/meta-ci
Files in presta/meta-ci
Package meta-ci
Short Description Manage your vhost for Behat on continuous integration
License MIT
Informations about the package meta-ci
Meta-ci
Presta meta CI allows you to create virtual hosts for Jenkins / Travis / Behat. It is used by PrestaCMS with our CI and Travis.
Issue tracker
:clipboard: Issues are managed in prestaconcept/open-source-management to centralize our open source activity.
Requirement for ci_init_vhost
httpd configuration
create a directory to store your CI vhosts
mkdir -m775 /etc/httpd/conf.d/jenkins_vhosts
chgrp jenkins /etc/httpd/conf.d/jenkins_vhosts
auto include vhosts
include jenkins vhosts in an Apache configuration file (after your default vhost)
Include conf.d/jenkins_vhosts/*.conf
Allow jenkins to write in /etc/hosts
chmod g+w /etc/hosts
chgrp jenkins /etc/hosts
Allow jenkins and reload Apache
for visudo syntax check
visudo -f /etc/sudoers.d/jenkins
file content to allow HTTPD configuration test + reload
Defaults:jenkins !requiretty
jenkins ALL=(ALL) NOPASSWD: /usr/sbin/apachectl graceful
jenkins ALL=(ALL) NOPASSWD: /usr/sbin/apachectl -t
Tools
setup script for apache in ci
In in order to run behat validations or other stuff, this creates a vhost for current job
bin/ci_init_vhost [<subdir_for_documentroot>]
The server name will be {JOB_NAME}.loc
.
See behat + jenkins for more details.
Ask for help
:speech_balloon: If you need help about this project you can post a message on our google group
Contributing
Pull requests are welcome.
Thanks to everyone who has contributed already.
This project is supported by PrestaConcept
Lead Developer : @remyfrd
Released under the MIT License
All versions of meta-ci with dependencies
squizlabs/php_codesniffer Version 1.*
sebastian/phpcpd Version *
phploc/phploc Version *
phpmd/phpmd Version 1.4.*
pdepend/pdepend Version 1.1.1