language: php

php:
    - 5.6
    - 7.0
    - 7.1
    - 7.2

branches:
    only:
        - master
        - 2.x

before_script:
    - wget https://alg.li/algolia-keys && chmod +x algolia-keys
    - composer install

script:
    - eval $(./algolia-keys export) && ./vendor/bin/simple-phpunit -v

language: php

php:
    - 5.6
    - 7.0
    - 7.1
    - 7.2
    - 7.3
    - nightly

matrix:
    allow_failures:
        - php: nightly

branches:
    only:
        - master
        - 2.x

before_script:
    - wget https://alg.li/algolia-keys && chmod +x algolia-keys
    - composer install

script:
    - eval $(./algolia-keys export) && ./vendor/bin/simple-phpunit -v

Test against PHP 7.3 and nightly
Test against PHP 7.3 and nightly
