comsave/salesforce-mapper-bundle

View on GitHub
.travis.yml

Summary

Maintainability
Test Coverage
language: php

php:
  - 7.2
  - 7.3

before_install:
  - SYMFONY_DEPENDENCIES=$(cat composer.json | jq '.require | to_entries[] | "\(.key):\(.value)"' | egrep -o '(symfony\/[^:]+)[^|]+\|' | egrep -o '(symfony\/[^:]+)'); for SYMFONY_DEPENDENCY in $SYMFONY_DEPENDENCIES; do composer require "${SYMFONY_DEPENDENCY}:${SYMFONY_VERSION}" --no-update; done

install: composer install --no-interaction

script: composer run-coverage

matrix:
  include:
    - php: 7.2
      env: SYMFONY_VERSION=^3.4
    - php: 7.3
      env: SYMFONY_VERSION=^3.4

env:
  global:
    - CC_TEST_REPORTER_ID=9aad8a8b7a7e1f56a69449094ed32b6a145e5e30e7e2901690c4a46273338c44
    - SYMFONY_VERSION=^4.3

before_script:
  - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
  - chmod +x ./cc-test-reporter
  - ./cc-test-reporter before-build

after_script:
  - mv tests/_output/coverage.xml clover.xml
  - ./cc-test-reporter after-build --coverage-input-type clover --id $CC_TEST_REPORTER_ID --exit-code $TRAVIS_TEST_RESULT

notifications:
  slack:
    secure: WudDKzLLXF3bjI/MblWE9aChPTXzAMu5qpjaGctf6lr6ApgjtIXfdviX49mvVkeVwG1XELsoSjF37nbQxyfQ7zSnAxdQMwmcmmpLEk4vaUuToxh+WBXZp8cY+s/xA8eojSWEKEqe8YTZZH2Q8u5d35X6P7rq1q6mqfzYxzmBhI6vWaGRxCdsBOot14VsKbtGPsescV4WHqn8NFprxToQFDVepShpm2VDv7U9KsK07ytouFUoPDU6uIW3dpG+RRa3oxD8OZ274+chnd6KkZlFIDtNDWm/DsAke+edYrunybkANgg40H2lENkMuCgGpCvsZTE58SV3tfhFuJBlHbqdje7mZRZ8RM3AUaPWnxnIC0Eg5ZgHZvlPysmS3RL4wnfI0CagW6umNTzr8lJgi7QHySKbUvd48N24FtgmuKBkN2Hobnz84zI9oYJtKu5mFx0pgTjtHAyBAjIDyAm3Mdr5A/3hfE69OK3aV0UDJTZI/+r9oP61+3UO4cLjYrJzxDGc6WspldtH8sFnAvsseEFLWN+G36/LHT54HmuVf/tgEOcAeoVt04SasHrFNo2Sp2LStB3NhKPbZlnwG6LzQfJZV9S9XqmPuXFVkBzzXXSa3ml2lSC88MCTi0hns1DhbPOej655znCVLU91JAFjNMW6SaiLRM9LRGLi7v7rmVjPd0M=