.travis.yml
before_script:
- composer self-update
- PHP_VERSION_NAME="$(phpenv version-name)"
- if [ "${PHP_VERSION_NAME//[.]/}" -lt "70" ];
then pecl install -f inotify-0.1.6; else
pecl install inotify;
fi
- composer install --prefer-dist --no-interaction
after_script:
- php 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"
php:
- 5.6
- 7.0
language: php
matrix:
allow_failures:
- php: hhvm