Test Setup Failed
Push — dependabot/npm_and_yarn/forwar... ( 6cb46c )
by
unknown
58:44 queued 54:44
created

Checkout Config

build:

  environment:
    variables:
      ENV: 'ci'
      ACCEPTANCE_TESTS_PORT: 80
    mysql: false
    postgresql: false
    redis: false
    rabbitmq: false
    php:
      version: 7.1
      ini:
        'date.timezone': 'Europe/Amsterdam'
    docker:
      remote_engine: true
      cache:
        images:
          - 'php:7.1-alpine'
          - 'hgraca/explicit-architecture:app.sfn.base'

  tests:
    override:
      - command: export ACCEPTANCE_TESTS_HOST=$DOCKER_IP
      - command: make test-ci
        coverage:
          file: var/coverage.clover.xml
          format: php-clover
      - command: make test_cov-publish

  # Used for deployment.
  # Will only be executed if all tests succeeded.
  # If run in parallel, will be executed in the container where tests finish last.
  deployment:
    - branch: stg-*
      commands:
        - make deploy_stg-ci
    - branch: master
      commands:
        - make deploy_prd-ci

filter:
  paths:
    - "src/"
  dependency_paths:
    - "vendor/"

build_failure_conditions:
  - 'issues.new.exists'
  - 'project.metric_change("scrutinizer.test_coverage", < -0.05)'

checks:
  php:
    code_rating: true
    duplication: true

Repository Config

build:
  environment:
    variables:
      CODECOV_TOKEN: 'b7b7874a-1fcc-42c7-8d5d-91fe6d4e7d26'
      HEROKU_TOKEN: 'a954b851-8f7b-4187-b6eb-ea009435a7d5'
      ENV: 'ci'
      APP_ENV: 'test'
      APP_DEBUG: 0
      APP_SECRET: '67d829bf61dc5f87a73fd814e2c9f629'
      DATABASE_URL: 'sqlite:///%kernel.project_dir%/var/data/blog.sqlite'
      MAILER_URL: 'null://localhost'
      STG_ENV: 'stg'
      STG_APP_ENV: 'prod'
      STG_APP_DEBUG: 0
      STG_APP_SECRET: '67d829bf61dc5f87a73fd814e2c9f629'
      STG_DATABASE_URL: 'sqlite:///%kernel.project_dir%/var/data/blog.sqlite'
      STG_MAILER_URL: 'null://localhost'
      PRD_ENV: 'prd'
      PRD_APP_ENV: 'prod'
      PRD_APP_DEBUG: 0
      PRD_APP_SECRET: '67d829bf61dc5f87a73fd814e2c9f629'
      PRD_DATABASE_URL: 'sqlite:///%kernel.project_dir%/var/data/blog.sqlite'
      PRD_MAILER_URL: 'null://localhost'
    heroku:
      api_key: 'a954b851-8f7b-4187-b6eb-ea009435a7d5'
      email: '[email protected]'