.travis.yml
language: php
sudo: false
php:
- 5.6
cache:
directories:
- ~/.composer/cache
- ~/composer
before_install:
- phpenv config-add .travis.php.ini
- if [ -f ~/composer/composer.phar ]; then mv ~/composer/composer.phar ./; else wget https://getcomposer.org/composer.phar; fi
- mkdir -p ~/composer
- cp composer.phar ~/composer/composer.phar
- phpenv config-rm xdebug.ini
install:
- export COMPOSER_ROOT_VERSION=dev-master
- php ./composer.phar self-update
- php -d memory_limit=-1 ./composer.phar install --no-progress --prefer-dist
script: ./bin/phpunit
addons:
code_climate:
repo_token: 36b43abecd81c1051eb8d0212fd459c5f5df7ca806293c9862d24e498844eff3
after_script:
- ./bin/test-reporter