Completed
Push — release/1.0.2 ( bccdbb )
by Grant
17s queued 10s
created

Checkout Config

build:
    nodes:
        analysis:
            tests:
                override:
                    - php-scrutinizer-run
                    - js-scrutinizer-run
                    - phpcs-run ./app

    dependencies:
        before:
            - composer install
            - psql --cluster 9.6/main -c 'CREATE DATABASE talentcloud WITH OWNER scrutinizer'

    root_path: './'

    environment:
        # Sets up DNS entries for certain hosts
        hosts:
            local.dev: 127.0.0.1
        # Languages
        php:
            version: "7.0"
            ini:
                memory_limit: "-1"
        ruby: "2.3.1"
        node: "v6.2.0"
        # Various pre-installed services that can be configured.
        docker: true
        postgresql: true
        nginx:
            sites:
                # will add configuration file to "/etc/nginx/sites-enabled"
                talent.local.ca:
                    host: 'local.dev'
                    web_root: 'public/'

        selenium: true

filter:
    excluded_paths:
        - '*/database/*'
        - '*/node_modules/*'
        - '*/tests/*'
        - '*/vendor/*'

checks:
    php: true

tools:
    external_code_coverage:
        timeout: 777
        runs: 2
    custom_commands:
        -
            scope: project
            command: vendor/bin/slack --token=https://hooks.slack.com/services/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

Repository Config

build:
  nodes:
    analysis:
      tests:
        override:
          - php-scrutinizer-run
          - js-scrutinizer-run
          - phpcs-run --standard=ruleset.xml ./app ./routes ./database/factories ./database/seeds
          - eslint-run ./resources/assets/js/app.js

Global Config

build:
    nodes:
        analysis:
            tests:
                override:
                    - php-scrutinizer-run
                    - js-scrutinizer-run
                    - eslint-run --config .eslintrc.json
                    - phpcs-run #./app