language: php

php:
  - 5.2
  - 5.4
  - 5.5
  - 5.6
  - 7.0
  - 7.1
  - 7.2
  - 7.3

matrix:
  include:
    - php: 5.3
      dist: precise
    - php: 5.3.3
      dist: precise
  allow_failures:
    - php: 5.2

before_script:
  # Make sure the locales used in the tests are installed
  - composer install
  - sudo locale-gen en_GB
  - sudo locale-gen en_GB.utf8
  - sudo locale-gen fr_FR
  - sudo locale-gen fr_FR@euro
  - sudo locale-gen fr_FR.utf8

script:
  - vendor/phpunit/phpunit/phpunit

language: php

php:
  - 5.2
  - 5.4
  - 5.5
  - 5.6
  - 7.0
  - 7.1
  - 7.2
  - 7.3
  - 7.4snapshot
  - nightly

matrix:
  include:
    - php: 5.3
      dist: precise
    - php: 5.3.3
      dist: precise
  allow_failures:
    - php: 5.2
    - php: 7.4snapshot
    - php: nightly

before_script:
  # Make sure the locales used in the tests are installed
  - composer install
  - sudo locale-gen en_GB
  - sudo locale-gen en_GB.utf8
  - sudo locale-gen fr_FR
  - sudo locale-gen fr_FR@euro
  - sudo locale-gen fr_FR.utf8

script:
  - vendor/phpunit/phpunit/phpunit

Add bleeding edge PHP versions as allowed failures
Add bleeding edge PHP versions as allowed failures
