.travis.yml
language: php
dist: trusty
sudo: required
php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
- 7.3
matrix:
include:
- php: 5.3
dist: precise
before_install:
- echo "memory_limit=2G" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
before_script:
- travis_retry composer self-update
- travis_retry composer install --no-interaction --prefer-source --dev
script:
- vendor/bin/phpunit --verbose --coverage-text --coverage-clover=coverage.xml
after_script:
- vendor/bin/test-reporter --coverage-report coverage.xml
after_success:
- bash <(curl -s https://codecov.io/bash)
addons:
code_climate:
repo_token: e4002bac386e97f1a088b33b972d44679e06f2b0525ae75a701cec38c8224a88