.travis.yml
language: php
php:
- '7.1'
- '7.2'
before_script:
- composer self-update
- composer require codeclimate/php-test-reporter --dev
- composer require sensiolabs/security-checker --dev
- composer require php-coveralls/php-coveralls --dev
- composer install
script:
- mkdir -p build
- vendor/bin/phpunit --coverage-clover build/clover.xml
- vendor/bin/security-checker security:check --end-point=http://security.sensiolabs.org/check_lock
after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover build/clover.xml
- vendor/bin/test-reporter --coverage-report=build/clover.xml
after_success:
- travis_retry php vendor/bin/php-coveralls
addons:
code_climate:
repo_token: 46cfe35f7943ee911b3e46cd0b2735c512b5122ffb4bcecf8baecfb4f635deb1
notifications:
email: false