language: php

sudo: false

git:
    # dirty hack to make this test work tests/Regis/Infrastructure/Vcs/RepositoryTest::testGetDiff
    depth: 5000

cache:
    directories:
        - $HOME/.composer/cache

branches:
    only:
        - master

php:
    - 7.0
    - 7.1

matrix:
    fast_finish: true
    allow_failures:
      - php: 7.1

install:
    - composer install --optimize-autoloader --no-interaction --no-scripts ${COMPOSER_FLAGS}
    - composer require satooshi/php-coveralls '^1.0'

script:
    - make tests

after_script:
    - php vendor/bin/coveralls -v

language: php

sudo: false

git:
    # dirty hack to make this test work tests/Regis/Infrastructure/Vcs/RepositoryTest::testGetDiff
    depth: 5000

cache:
    directories:
        - $HOME/.composer/cache

branches:
    only:
        - master

php:
    - 7.0
    - 7.1

matrix:
    fast_finish: true

install:
    - composer install --optimize-autoloader --no-interaction --no-scripts ${COMPOSER_FLAGS}
    - composer require satooshi/php-coveralls '^1.0'

script:
    - make tests

after_script:
    - php vendor/bin/coveralls -v

Build should not be allowed to fail on PHP 7.1 anymore
Build should not be allowed to fail on PHP 7.1 anymore
