.travis.yml
env:
global:
- CC_TEST_REPORTER_ID=7a9ca99479ba8d417428a043610e281cf38902d3304da80ed1f058cb068c1ec4
language: php
php:
- '7.2'
install:
- make install
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
script:
- make lint test
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT