php - Build in PHPCI takes forever -


i'm setting continues integration , i'm wondering if should take damn long. build running on day in mean time , still it's not finished.

it normal laravel app around 20 controllers, little time granted, on day?

my config simple in opinion:

build_settings: ignore:     - "vendor" setup: composer:     action: "install"  test: php_mess_detector:     allow_failures: true php_code_sniffer:     standard: "psr2" php_cpd:     allow_failures: true php_docblock_checker:     allowed_warnings: 10     skip_classes: true php_loc:     directory: "src" 

no errors, (by now) pesky status "pending"

when check logs error:

2016/01/28 08:01:32 [error] 6702#0: *4 fastcgi sent in stderr: "php message: php fatal error: class 'phpci\controller' not found in /var/www/vendor/block8/b8framework/b8/application.php on line 93" while reading response header upstream, client: someipaddress, server: green.somedomain.com, request: "get /assets/js/plugins/datepicker/locales/bootstrap-datepicker.en.js http/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "green.somedomain.com", referrer: "http://green.somedomain.com/build/view/5"

i did composer update / install , added following rule nginx configuration:

fastcgi_param script_name index.php;

my question is, normal? config good? forgetting something?

you've not set build runner when set phpci. web interface merely creates build , displays results, need run command line tool run builds.

there 3 ways set up:

  1. (new in 1.7 beta) phpci worker w/ beanstalkd.

    • install beanstalkd
    • use supervisord (or similar) run /path/to/phpci/console phpci:worker
  2. (recommended 1.6 , below) phpci daemon: https://www.phptesting.org/wiki/run-builds-using-a-daemon

  3. (fallback option) cron: https://www.phptesting.org/wiki/run-builds-using-cron


Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -