.travis.yml
language: php
sudo: false
php:
- 7.1
- 7.2
- 7.3
before_script:
- curl -s http://getcomposer.org/installer | php
- php composer.phar install --no-interaction
script:
- mkdir -p build/logs
- vendor/bin/phpunit
after_script:
- php vendor/bin/coveralls -v
- CODECLIMATE_REPO_TOKEN=05114085669ffd04d959671e9fb709fc337acb11ce23ca5d8d5be68abff40865 ./vendor/bin/test-reporter --stdout > codeclimate.json
- "curl -X POST -d @codeclimate.json -H 'Content-Type: application/json' -H 'User-Agent: Code Climate (PHP Test Reporter v0.1.1)' https://codeclimate.com/test_reports"