language: php
php:
    - '7.0'
    - '7.1'
    - nightly

before_script:
  - composer install -o

after_script:
    - |
      if [ $TRAVIS_PHP_VERSION = '7.0' ]; then
        travis_retry wget https://scrutinizer-ci.com/ocular.phar
        php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
      fi

install:
  - export PATH="$HOME/.composer/vendor/bin:$PATH"
  - travis_retry composer self-update && composer --version

services:
    - redis-server
    - rabbit

script: phpunit --configuration phpunit.xml
language: php
php:
    - '7.0'
    - '7.1'

before_script:
  - composer install -o

after_script:
    - |
      if [ $TRAVIS_PHP_VERSION = '7.0' ]; then
        travis_retry wget https://scrutinizer-ci.com/ocular.phar
        php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
      fi

install:
  - export PATH="$HOME/.composer/vendor/bin:$PATH"
  - travis_retry composer self-update && composer --version

services:
    - redis-server
    - rabbit

script: phpunit --configuration phpunit.xml
Remove nightly builds from CI
Remove nightly builds from CI
