language: php sudo: false git: depth: 1 cache: directories: - $HOME/.composer/cache matrix: include: - php: 5.5 - php: 5.6 - php: 7.0 - php: 7.1 - php: 7.2 - php: 5.5 env: COMPOSER_FLAGS='--prefer-lowest --prefer-stable' fast_finish: true before_script: - if [[ $TRAVIS_PHP_VERSION = '7.0' ]]; then PHPUNIT_FLAGS="--coverage-clover clover"; else PHPUNIT_FLAGS=""; fi - if [[ $TRAVIS_PHP_VERSION != '7.0' ]]; then phpenv config-rm xdebug.ini; fi - composer self-update - composer update $COMPOSER_FLAGS script: - vendor/bin/phpunit $PHPUNIT_FLAGS - php tests/benchmark.php json 3 - php tests/benchmark.php yml 3 - php tests/benchmark.php xml 3 after_success: - if [[ $TRAVIS_PHP_VERSION = '7.0' ]]; then wget https://scrutinizer-ci.com/ocular.phar; fi - if [[ $TRAVIS_PHP_VERSION = '7.0' ]]; then php ocular.phar code-coverage:upload --format=php-clover clover; fi
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
.github | Folder | 0755 |
|
|
doc | Folder | 0755 |
|
|
src | Folder | 0755 |
|
|
tests | Folder | 0755 |
|
|
.gitignore | File | 41 B | 0644 |
|
.scrutinizer.yml | File | 49 B | 0644 |
|
.travis.yml | File | 989 B | 0644 |
|
CHANGELOG.md | File | 70 KB | 0644 |
|
LICENSE | File | 1.04 KB | 0644 |
|
META.md | File | 175 B | 0644 |
|
README.md | File | 432 B | 0644 |
|
UPGRADING.md | File | 1008 B | 0644 |
|
composer.json | File | 2.06 KB | 0644 |
|
phpunit.xml.dist | File | 930 B | 0644 |
|