Completed
Push — master ( 9c4b0f...4c0cee )
by Sam
02:26
created

Checkout Config

checks:
  php: true
  javascript: true

filter:
  excluded_paths:
    - vendor/
  dependency_paths:
    - vendor/

build:
  project_setup:
    before:
      - mysql -e 'CREATE DATABASE testdb;' -uroot
      - cp config.example.php tests/config.php
      - sed -i "s/database_name_here/testdb/" tests/config.php
      - sed -i "s/database_user_here/root/" tests/config.php
      - sed -i "s/database_password_here//" tests/config.php

  tests:
    override:
      - composer validate
      - ./vendor/bin/phpunit
      - ./vendor/bin/phpcs
      -
        command: 'phpunit --coverage-clover=clover-coverage'
        coverage:
          file: 'clover-coverage'
          format: 'clover'

Repository Config

filter:
    excluded_paths:
        - 'tests/*'
checks:
    php: true
    javascript: true
coding_style:
    php:
        spaces:
            around_operators:
                concatenation: true