language: php
php:
  - 5.3
  - 5.4
  - 5.5
matrix:
  include:
    - php: 5.6
      env: PHPUNIT_OPTIONS="--coverage-clover build/logs/clover.xml"
    - php: 5.6
      env: COMPOSER=composer41.json
    - php: 5.6
      env: COMPOSER=composer40.json

install:
  - composer install
script:
  - bin/concise $PHPUNIT_OPTIONS

after_script:
  - "if [[ -f build/logs/clover.xml ]] ; then php vendor/bin/coveralls -v; fi"
  - "if [[ -f build/logs/clover.xml ]] ; then wget https://scrutinizer-ci.com/ocular.phar; fi"
  - "if [[ -f build/logs/clover.xml ]] ; then php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml; fi"

language: php
php:
  - 5.3
  - 5.4
  - 5.5
matrix:
  include:
    - php: 5.6
      env: PHPUNIT_OPTIONS="--coverage-clover build/logs/clover.xml"
    - php: 5.6
      env: COMPOSER=composer41.json
    - php: 5.6
      env: COMPOSER=composer40.json

install:
  - composer install
script:
  - bin/concise --ci $PHPUNIT_OPTIONS

after_script:
  - "if [[ -f build/logs/clover.xml ]] ; then php vendor/bin/coveralls -v; fi"
  - "if [[ -f build/logs/clover.xml ]] ; then wget https://scrutinizer-ci.com/ocular.phar; fi"
  - "if [[ -f build/logs/clover.xml ]] ; then php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml; fi"

Use CI mode for concise
Use CI mode for concise
