.travis.yml
language:
php
php:
- '7.2'
- nightly
matrix:
allow_failures:
- php: nightly
before_script:
- composer install
- wget https://github.com/infection/infection/releases/download/0.8.1/infection.phar
- wget https://github.com/infection/infection/releases/download/0.8.1/infection.phar.pubkey
- chmod +x infection.phar
script:
- mkdir -p build/logs
- vendor/bin/phpunit -c phpunit.xml --testdox
- vendor/bin/phpstan analyse src tests --level=7
- ./infection.phar --min-msi=100 --min-covered-msi=100
after_success:
- travis_retry php vendor/bin/php-coveralls
after_failure:
- touch build/logs/infection-log.txt
- cat build/logs/infection-log.txt
notifications:
email: false