language: php
sudo: false

php:
  - 5.5
  - 5.6
  - 7
  - hhvm
  - nightly

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

before_script:
  - mkdir -p build/logs

script:
  - phpunit --coverage-clover build/logs/clover.xml ./Tests
  - vendor/bin/phpcs --runtime-set ignore_warnings_on_exit 1 --standard=ruleset.xml QuickPay

after_script:
  - php vendor/bin/coveralls -v

language: php
sudo: false

php:
  - 5.5
  - 5.6
  - 7.0
  - hhvm
  - nightly

matrix:
  fast_finish: true
  allow_failures:
    - php: nightly

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

before_script:
  - mkdir -p build/logs

script:
  - phpunit --coverage-clover build/logs/clover.xml ./Tests
  - vendor/bin/phpcs --runtime-set ignore_warnings_on_exit 1 --standard=ruleset.xml QuickPay

after_script:
  - php vendor/bin/coveralls -v

Allow failures on unstable PHP versions
Allow failures on unstable PHP versions
