Test Failed
Push — master ( b2298d...20e632 )
by Jean-Christophe
03:13
created

Checkout Config

build:
  nodes:
    analysis:
      dependencies:
        before:
          - composer require twig/twig mindplay/annotations phpfastcache/phpfastcache monolog/monolog czproject/git-php phpmv/php-mv-ui
          - composer require codeception/codeception --dev
          - composer require phpmv/ubiquity-devtools:dev-master --dev
      environment:
        php:
          version: 7.2
      tests:
        override:
          - php-scrutinizer-run

    coverage:
      dependencies:
        before:
#          - sudo apt-get install -y zip

      environment:
        php:
          version: 7.2
        hosts:
          dev.local: '127.0.0.1'
        apache2:
          modules: ['rewrite']
          sites:
            ubiquity:
              host: 'dev.local'
              web_root: '.'
        selenium: true
      services:
          # For available tags, see https://hub.docker.com/_/mysql/
          mysql: 5.7
      tests:
        before:
          - sudo cp tests/fw/xdebug.ini /home/scrutinizer/.phpenv/versions/7.2.13/etc/conf.d/xdebug.ini
          - mysql -u root mysql < tests/unit/db/messagerie.sql
          - rm composer.lock
          - (yes | ./vendor/bin/Ubiquity new build -b=messagerie -q=semantic -m -a)
          - cp -f tests/fw/composer.json composer.json
          - composer update -a
          - cp -f tests/fw/_index.php index.php && cp -f tests/fw/.htaccess . && cp -f tests/fw/essai.php . 
          - sudo chmod 777 -R /home/scrutinizer/build/ && sudo chown -R www-data:www-data /home/scrutinizer/build/
          - sudo service apache2 restart && sudo service apache2 reload 
          - sudo curl -v http://dev.local/index.php?c=Admin

        override:
          - command: ./vendor/bin/codecept build && ./vendor/bin/codecept run --coverage-xml
            coverage:
              file: tests/_output/coverage.xml
              format: clover
filter:
    excluded_paths:
        - Ubiquity/log/
        - Ubiquity/controllers/Autoloader.php
        - Ubiquity/controllers/admin/
        - Ubiquity/annotations/
        - Ubiquity/js/Jquery.php
        - Ubiquity/utils/git/UGitRepository.php
        - docs/
        - api/
        - documentation/
        - tests/
checks:
    php:
        code_rating: true
        duplication: true

Repository Config

# language: php