language: php

branches:
  only:
    - master
    - develop

php:
  - 7
  - 7.1

before_script:
  - composer self-update
  - composer install --no-interaction
  - npm install

script:
  - mkdir build
  - composer check
  - grunt

after_script:
  - wget https://scrutinizer-ci.com/ocular.phar
  - php ocular.phar code-coverage:upload --format=php-clover build/clover.xml

sudo: false

language: php

branches:
  only:
    - master
    - develop

php:
  - 7
  - 7.1

before_script:
  - composer self-update
  - composer install --no-interaction
  - npm install

script:
  - mkdir build
  - composer check
  - grunt

after_script:
  - wget https://scrutinizer-ci.com/ocular.phar
  - php ocular.phar code-coverage:upload --format=php-clover build/clover.xml

sudo: false

matrix:
  fast_finish: true
  allow_failures:
    - php: 7.1

Build under PHP 7.1 gives an error. Allow failure and wait for stable version
Build under PHP 7.1 gives an error. Allow failure and wait for stable version
