diff --git a/.travis.yml b/.travis.yml index d2c9c28..8cfb63b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,18 +2,29 @@ language: php dist: xenial php: - - '5.6' - - '7.0' - - '7.1' - '7.2' + - '7.3' + - '7.4' - nightly -matrix: +env: + - UUID=4 + +jobs: include: - - php: '5.5' - dist: trusty + - php: 5.6 + env: UUID=3 + - php: 7.0 + env: UUID=3 + - php: 7.1 + env: UUID=3 + - php: 7.2 + env: UUID=3 allow_failures: - php: nightly -install: composer install +install: + - composer self-update --2 + - composer update --with ramsey/uuid=${UUID}.* + - composer install script: composer test diff --git a/composer.json b/composer.json index d5cf11b..5129aa8 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ ], "require": { "php": ">=5.6.0", - "ramsey/uuid" : "^3.0", + "ramsey/uuid" : "^3.0 || ^4.0", "nategood/httpful": "^0.2", "respect/validation": "^1.0" },