.travis.yml
language: php
dist: trusty
sudo: required
php:
- 7.3
- 7.2
- 7.1
- 7.0
- 5.6
- 5.5
- 5.4
matrix:
include:
- php: 5.3
dist: precise
env:
- TRAVIS_NODE_VERSION="7"
before_install:
- echo "memory_limit=2G" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
install:
- rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION
- npm install
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: 96050f995dc526f7ece7effce0b7c5a213d08b891e6ba8c086dad0864b76488c