From 05ace8fd119911b005aa842aae7b704851573118 Mon Sep 17 00:00:00 2001 From: Carsten Brandt Date: Thu, 24 Oct 2019 22:40:18 +0200 Subject: [PATCH 1/4] Update .travis.yml --- .travis.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index a845b89f..01899ed8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,9 @@ language: php +env: + - YAML=3.0 + - YAML=4.0 + matrix: include: # linux tests @@ -23,14 +27,18 @@ matrix: #- ls /c/tools/composer - wget https://raw.githubusercontent.com/composer/getcomposer.org/76a7060ccb93902cd7576b67264ad91c8a2700e2/web/installer -O - -q | php -dextension=/c/tools/php73/ext/php_openssl.dll -- - ls - install: php -dextension=/c/tools/php73/ext/php_openssl.dll -dextension=/c/tools/php73/ext/php_mbstring.dll composer.phar install --prefer-dist --no-interaction + install: + - php -dextension=/c/tools/php73/ext/php_openssl.dll -dextension=/c/tools/php73/ext/php_mbstring.dll composer.phar install --prefer-dist --no-interaction + - php -dextension=/c/tools/php73/ext/php_openssl.dll -dextension=/c/tools/php73/ext/php_mbstring.dll composer.phar require symfony/yaml:"^${YAML}" --prefer-dist --no-interaction script: php -dextension=/c/tools/php73/ext/php_openssl.dll -dextension=/c/tools/php73/ext/php_mbstring.dll vendor/phpunit/phpunit/phpunit # allow php nightly to fail until https://travis-ci.community/t/php-nightly-now-requires-oniguruma/2237 is fixed allow_failures: - php: nightly -install: make install +install: + - make install + - composer require symfony/yaml:"^${YAML}" --prefer-dist --no-interaction script: - make lint - make test From a732f06e150aa357a95f0a2715c593c11357e9d2 Mon Sep 17 00:00:00 2001 From: Carsten Brandt Date: Thu, 24 Oct 2019 22:43:23 +0200 Subject: [PATCH 2/4] Update .travis.yml --- .travis.yml | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 01899ed8..2b9859bc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,19 +1,30 @@ language: php -env: - - YAML=3.0 - - YAML=4.0 - matrix: include: # linux tests - php: '7.1' + env: + - YAML=3.0 + - YAML=4.0 - php: '7.2' + env: + - YAML=3.0 + - YAML=4.0 - php: '7.3' + env: + - YAML=3.0 + - YAML=4.0 - php: nightly + env: + - YAML=3.0 + - YAML=4.0 # windows tests # https://travis-ci.community/t/where-to-contribute-php-support-for-windows/304 - os: windows + env: + - YAML=3.0 + - YAML=4.0 language: sh before_install: - export PATH="/c/tools/composer:/c/tools/php73:$PATH" From 6ea513c43c72a3d191f71866240894179a90d00f Mon Sep 17 00:00:00 2001 From: Carsten Brandt Date: Thu, 24 Oct 2019 22:45:56 +0200 Subject: [PATCH 3/4] Update .travis.yml --- .travis.yml | 26 ++++++++++---------------- 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2b9859bc..c98b9be0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,27 +4,22 @@ matrix: include: # linux tests - php: '7.1' - env: - - YAML=3.0 - - YAML=4.0 + env: YAML=3.0 + - php: '7.1' + env: YAML=4.0 + - php: '7.2' + env: YAML=3.0 - php: '7.2' - env: - - YAML=3.0 - - YAML=4.0 + env: YAML=4.0 + - php: '7.3' + env: YAML=3.0 - php: '7.3' - env: - - YAML=3.0 - - YAML=4.0 + env: YAML=4.0 - php: nightly - env: - - YAML=3.0 - - YAML=4.0 + env: YAML=4.0 # windows tests # https://travis-ci.community/t/where-to-contribute-php-support-for-windows/304 - os: windows - env: - - YAML=3.0 - - YAML=4.0 language: sh before_install: - export PATH="/c/tools/composer:/c/tools/php73:$PATH" @@ -40,7 +35,6 @@ matrix: - ls install: - php -dextension=/c/tools/php73/ext/php_openssl.dll -dextension=/c/tools/php73/ext/php_mbstring.dll composer.phar install --prefer-dist --no-interaction - - php -dextension=/c/tools/php73/ext/php_openssl.dll -dextension=/c/tools/php73/ext/php_mbstring.dll composer.phar require symfony/yaml:"^${YAML}" --prefer-dist --no-interaction script: php -dextension=/c/tools/php73/ext/php_openssl.dll -dextension=/c/tools/php73/ext/php_mbstring.dll vendor/phpunit/phpunit/phpunit # allow php nightly to fail until https://travis-ci.community/t/php-nightly-now-requires-oniguruma/2237 is fixed From 6d3e885bdc7f2d3e3941202a07c2622d4322cca6 Mon Sep 17 00:00:00 2001 From: Carsten Brandt Date: Thu, 24 Oct 2019 23:00:17 +0200 Subject: [PATCH 4/4] Update composer.json --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index ac2714db..566a9528 100644 --- a/composer.json +++ b/composer.json @@ -20,7 +20,7 @@ "require": { "php": ">=7.1.0", "ext-json": "*", - "symfony/yaml": "^4.0", + "symfony/yaml": "^3.0 | ^4.0", "justinrainbow/json-schema": "^5.0" }, "require-dev": {