build:
    environment:
        php:
            version: 7.1
    tests:
        override:
            -
                command: 'vendor/bin/phpunit --coverage-clover=coverage-file'
                coverage:
                    file: 'coverage-file'
                    format: 'clover'

build:
    environment:
        php:
            version: 7.1
    tests:
        override:
            -
                command: 'vendor/bin/phpunit --coverage-clover=coverage-file --stop-on-failure'
                coverage:
                    file: 'coverage-file'
                    format: 'clover'

Add PHPUnit stop on failure flag
Add PHPUnit stop on failure flag
