language: php

addons:
    apt:
        packages:
            - language-pack-nl
php:
  - 5.6
  - 7.0
  - 7.1

branches:
  only:
    - master
    
install:
  - composer install
  - wget https://scrutinizer-ci.com/ocular.phar -O "$HOME/ocular.phar"
  
script:
  - vendor/bin/phpunit --coverage-clover cache/logs/clover.xml

after_success:
  - php "$HOME/ocular.phar" code-coverage:upload --format=php-clover cache/logs/clover.xml


language: php

addons:
    apt:
        packages:
            - language-pack-nl
php:
  - 7.0
  - 7.1

branches:
  only:
    - master
    
install:
  - composer install
  - wget https://scrutinizer-ci.com/ocular.phar -O "$HOME/ocular.phar"
  
script:
  - vendor/bin/phpunit --coverage-clover cache/logs/clover.xml

after_success:
  - php "$HOME/ocular.phar" code-coverage:upload --format=php-clover cache/logs/clover.xml


Remove PHP 5.6 as Twig 2.x only supports ^7.0
Remove PHP 5.6 as Twig 2.x only supports ^7.0