.travis.yml
env:
global:
- CC_TEST_REPORTER_ID=b1a5a9c87cad988d8513af688beb686a374147454d77668cb50fa1b99a0ded5a
language: php
php:
- 8.1
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
install:
- composer self-update
- composer install --dev
after_script:
- if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT; fi