.travis.yml
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
env:
global:
- CC_TEST_REPORTER_ID=ee32822eff72992fef06c3afebae1e826d80cb766c918bbf7f33b6f001efde1c
- SYMFONY_VERSION=^4.3
matrix:
include:
- php: 7.2
env: SYMFONY_VERSION=^3.4
- php: 7.3
env: SYMFONY_VERSION=^3.4
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: MCPnXbHvdOL8rV3dTWHMXG84wfBMcTkaEuxGrtTS5/LSIfRGN1RlqC5j901I11KrB27d/fyjyEDICs/3/KO1+mK3flJr9Gq/XikPGWWZEfmrAo9Su1CNQ8zBTfIBWvoIbvdwctNBKbbGz1dml3fSttTVugDDEeBixgUv+u2oi1lStK7NXwXfXQemmMl2erMdi/cBxKrV8yFmkF7ZdyLxWxW82enRnwHji6SIRPwzqQCloUByS72/+YpERobhSlqafMeTRHK1FvxghPvAHMIhE2r8wCZmAvUd3LBVigHL/ogropp85bZgY4/s8kVjJ+Rc+CI5ZsV3yDdr7HxecWYYxELHhPMc06qbJctRgTIk3lDXCYIfdXz/OPw1tR391Os9VF2A0WUsAgkMYdnLYlr4mIW6qS8pmfSgn4kB4JuOJ8txEl3DiUsxGKbJmFanmS/LmkW96LZnFk74CWmT9Zhdb3x7WJPXQy0y67it6lmRYwI9stjqn0Cu1+xdHpAnbv4zFrBMjxZnvl9B1j9KZR3dKc2tRwbfkiXcjks8AkuUn2xaXb0VRABckqX8zwYB9l5TsKELXF/8VdF9LDOr3BXsqsdkgGSna0p9Moscyb3+rZ2o36ibW0qjp49SVgGtmMv6olhmYL7ZuUQNzwCJvP69ezf/VbTRAxxo4mIGboUBsY0=