language: php

php:
  - 7.0
  - 7.1
  - nightly

sudo: false

matrix:
  allow_failures:
    - php: 7.1
    - php: nightly
  fast_finish: true

install:
  - git clone https://github.com/krakjoe/pthreads.git;
    pushd pthreads;
    git checkout master;
    phpize;
    ./configure;
    make;
    make install;
    popd;
    echo "extension=pthreads.so" >> "$(php -r 'echo php_ini_loaded_file();')"
  - composer self-update
  - composer install --no-interaction --prefer-source

script:
  - vendor/bin/phpunit --coverage-text --coverage-clover build/logs/clover.xml

after_script:
  - composer require satooshi/php-coveralls dev-master
  - vendor/bin/coveralls -v --exclude-no-stmt

language: php

php:
  - 7.0
  - 7.1
  - nightly

sudo: false

matrix:
  allow_failures:
    - php: nightly
  fast_finish: true

install:
  - git clone https://github.com/krakjoe/pthreads.git;
    pushd pthreads;
    git checkout master;
    phpize;
    ./configure;
    make;
    make install;
    popd;
    echo "extension=pthreads.so" >> "$(php -r 'echo php_ini_loaded_file();')"
  - composer self-update
  - composer install --no-interaction --prefer-source

script:
  - vendor/bin/phpunit --coverage-text --coverage-clover build/logs/clover.xml

after_script:
  - composer require satooshi/php-coveralls dev-master
  - vendor/bin/coveralls -v --exclude-no-stmt

Remove 7.1 from allowed failures
Remove 7.1 from allowed failures
