Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (17 sloc) 690 Bytes
language: php
php:
- 7.2
- 7.3
before_script:
- composer self-update
- composer install --no-interaction --prefer-source
- wget -O phpunit.phar https://phar.phpunit.de/phpunit-6.5.6.phar
- if [ $TRAVIS_PHP_VERSION = "7.1" ]; then wget -O phpstan.phar https://github.com/phpstan/phpstan/releases/download/0.10.5/phpstan.phar ; fi
script:
- php phpunit.phar --configuration ./build/travis-ci.phpunit.xml
- if [ $TRAVIS_PHP_VERSION = "7.1" ]; then php phpstan.phar analyse --no-progress -c phpstan.neon; fi
after_success:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover clover.xml
notifications:
email: false
You can’t perform that action at this time.