language: php

php:
    - 7.1

before_script:
    # Install composer
    - wget http://getcomposer.org/composer.phar
    - php composer.phar install --prefer-stable

script:
    - ./bin/phpmetrics src
    - ./bin/phpcs --standard=vendor/escapestudios/symfony2-coding-standard/Symfony2/ src/ tests/

    # Test on stable versions
    - ./bin/phpunit

    # Test on lowest versions
    - php composer.phar update --prefer-lowest
    - ./bin/phpunit


language: php

php:
    - 7.1
    - 7.2
    - 7.3

before_script:
    # Install composer
    - wget http://getcomposer.org/composer.phar
    - php composer.phar install --prefer-stable

script:
    - ./bin/phpmetrics src
    - ./bin/phpcs --standard=vendor/escapestudios/symfony2-coding-standard/Symfony2/ src/ tests/

    # Test on stable versions
    - ./bin/phpunit

    # Test on lowest versions
    - php composer.phar update --prefer-lowest
    - ./bin/phpunit

Add test on PHP 7.2 and PHP 7.3
Add test on PHP 7.2 and PHP 7.3
