From 5fd32f5a4bf3125db6d9d07c42ebbc06c9787093 Mon Sep 17 00:00:00 2001 From: Thiago Rodrigues Date: Mon, 12 Feb 2018 23:23:57 -0200 Subject: [PATCH 1/7] adjust version of symfony components --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index db978d5..94c629b 100644 --- a/composer.json +++ b/composer.json @@ -21,8 +21,8 @@ }, "require": { "php": ">=5.3.0", - "symfony/filesystem": "~2.3", - "symfony/process": "~2.3" + "symfony/filesystem": "^2.3|^3|^4", + "symfony/process": "^2.3|^3|^4" }, "require-dev": { "phpunit/phpunit": "~4.5" From 36e59fb67f30b794e46921bf8d29930c7bdf186f Mon Sep 17 00:00:00 2001 From: Thiago Rodrigues Date: Mon, 12 Feb 2018 23:24:13 -0200 Subject: [PATCH 2/7] adjust travis test --- .travis.yml | 42 ++++++++++++++++++++++++++++++++---------- 1 file changed, 32 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index bb7c1b8..7eed943 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,5 @@ -# Required to run your project under the correct environment. language: php -# Versions of PHP you want your project run with. php: - '5.3' - '5.4' @@ -9,24 +7,48 @@ php: - '5.6' - '7.0' - '7.1' + - '7.2' - hhvm -# Commands to be run before your environment runs. -before_script: +env: + - SYMFONY_COMPONENTS_VERSION=2.3.* + - SYMFONY_COMPONENTS_VERSION=2.4.* + - SYMFONY_COMPONENTS_VERSION=2.5.* + - SYMFONY_COMPONENTS_VERSION=2.6.* + - SYMFONY_COMPONENTS_VERSION=2.7.* + - SYMFONY_COMPONENTS_VERSION=2.8.* + - SYMFONY_COMPONENTS_VERSION=3.0.* + - SYMFONY_COMPONENTS_VERSION=3.1.* + - SYMFONY_COMPONENTS_VERSION=3.2.* + - SYMFONY_COMPONENTS_VERSION=3.3.* + - SYMFONY_COMPONENTS_VERSION=3.4.* + - SYMFONY_COMPONENTS_VERSION=4.0.* + +sudo: false + +cache: + directories: + - $HOME/.composer/cache/files + +before_install: - composer self-update - - composer install --prefer-source --no-interaction --dev + - if [ "$SYMFONY_COMPONENTS_VERSION" != "" ]; then composer require "symfony/process:${SYMFONY_COMPONENTS_VERSION}" "symfony/filesystem:${SYMFONY_COMPONENTS_VERSION}" --no-update; fi; + +install: + - composer update --prefer-dist -# Commands you want to run that will verify your build. -script: phpunit -c tests/ +script: ./vendor/bin/phpunit -c tests/ -# allow_failures: Allow this build to fail under the specified environments. -# fast_finish: If your build fails do not continue trying to build, just stop. matrix: + include: + - php: 5.3 + dist: precise allow_failures: - php: hhvm fast_finish: true -# Customize when the notification emails are sent. notifications: + email: + - xthiago@gmail.com on_success: never on_failure: always From 2ffb6efa1315b769124447c9182142971c08ac04 Mon Sep 17 00:00:00 2001 From: Thiago Rodrigues Date: Mon, 12 Feb 2018 23:57:47 -0200 Subject: [PATCH 3/7] testing --- .travis.yml | 9 --------- 1 file changed, 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7eed943..dfa5db4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,15 +14,6 @@ env: - SYMFONY_COMPONENTS_VERSION=2.3.* - SYMFONY_COMPONENTS_VERSION=2.4.* - SYMFONY_COMPONENTS_VERSION=2.5.* - - SYMFONY_COMPONENTS_VERSION=2.6.* - - SYMFONY_COMPONENTS_VERSION=2.7.* - - SYMFONY_COMPONENTS_VERSION=2.8.* - - SYMFONY_COMPONENTS_VERSION=3.0.* - - SYMFONY_COMPONENTS_VERSION=3.1.* - - SYMFONY_COMPONENTS_VERSION=3.2.* - - SYMFONY_COMPONENTS_VERSION=3.3.* - - SYMFONY_COMPONENTS_VERSION=3.4.* - - SYMFONY_COMPONENTS_VERSION=4.0.* sudo: false From eadae8090ea7a66b0e4920a118a86eb942178d77 Mon Sep 17 00:00:00 2001 From: Thiago Rodrigues Date: Tue, 13 Feb 2018 00:00:39 -0200 Subject: [PATCH 4/7] testing --- .travis.yml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index dfa5db4..a29d0ca 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,15 +1,5 @@ language: php -php: - - '5.3' - - '5.4' - - '5.5' - - '5.6' - - '7.0' - - '7.1' - - '7.2' - - hhvm - env: - SYMFONY_COMPONENTS_VERSION=2.3.* - SYMFONY_COMPONENTS_VERSION=2.4.* From 0f3785fd5c131386be4e1e207cde266e62f7a2f5 Mon Sep 17 00:00:00 2001 From: Thiago Rodrigues Date: Tue, 13 Feb 2018 00:04:30 -0200 Subject: [PATCH 5/7] add ghostscript as dependency --- .travis.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.travis.yml b/.travis.yml index a29d0ca..209a3b9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,10 @@ language: php +addons: + apt: + packages: + - ghostscript + env: - SYMFONY_COMPONENTS_VERSION=2.3.* - SYMFONY_COMPONENTS_VERSION=2.4.* From a44d996660302fa7e0e8f99336bf22e10fc8f808 Mon Sep 17 00:00:00 2001 From: Thiago Rodrigues Date: Tue, 13 Feb 2018 00:17:12 -0200 Subject: [PATCH 6/7] testing travis --- .travis.yml | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/.travis.yml b/.travis.yml index 209a3b9..a2a5bf8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,6 +29,56 @@ matrix: include: - php: 5.3 dist: precise + env: SYMFONY_COMPONENTS_VERSION=2.3.* + - php: 5.3 + dist: precise + env: SYMFONY_COMPONENTS_VERSION=2.4.* + - php: 5.3 + dist: precise + env: SYMFONY_COMPONENTS_VERSION=2.5.* + - php: 5.3 + dist: precise + env: SYMFONY_COMPONENTS_VERSION=2.6.* + - php: 5.3 + dist: precise + env: SYMFONY_COMPONENTS_VERSION=2.7.* + - php: 5.3 + dist: precise + env: SYMFONY_COMPONENTS_VERSION=2.8.* + - php: 5.4 + env: SYMFONY_COMPONENTS_VERSION=2.3.* + - php: 5.4 + env: SYMFONY_COMPONENTS_VERSION=2.4.* + - php: 5.4 + env: SYMFONY_COMPONENTS_VERSION=2.5.* + - php: 5.4 + env: SYMFONY_COMPONENTS_VERSION=2.6.* + - php: 5.4 + env: SYMFONY_COMPONENTS_VERSION=2.7.* + - php: 5.4 + env: SYMFONY_COMPONENTS_VERSION=2.8.* + - php: 5.5 + env: SYMFONY_COMPONENTS_VERSION=2.3.* + - php: 5.5 + env: SYMFONY_COMPONENTS_VERSION=2.4.* + - php: 5.5 + env: SYMFONY_COMPONENTS_VERSION=2.5.* + - php: 5.5 + env: SYMFONY_COMPONENTS_VERSION=2.6.* + - php: 5.5 + env: SYMFONY_COMPONENTS_VERSION=2.7.* + - php: 5.5 + env: SYMFONY_COMPONENTS_VERSION=2.8.* + - php: 5.5 + env: SYMFONY_COMPONENTS_VERSION=3.0.* + - php: 5.5 + env: SYMFONY_COMPONENTS_VERSION=3.1.* + - php: 5.5 + env: SYMFONY_COMPONENTS_VERSION=3.2.* + - php: 5.5 + env: SYMFONY_COMPONENTS_VERSION=3.3.* + - php: 5.5 + env: SYMFONY_COMPONENTS_VERSION=3.4.* allow_failures: - php: hhvm fast_finish: true From ff770905276ba5cfe016fc69ea94e29efceac429 Mon Sep 17 00:00:00 2001 From: Thiago Rodrigues Date: Tue, 13 Feb 2018 00:35:02 -0200 Subject: [PATCH 7/7] add more scenarios to travis --- .travis.yml | 165 +++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 130 insertions(+), 35 deletions(-) diff --git a/.travis.yml b/.travis.yml index a2a5bf8..16ce38b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,84 +1,179 @@ language: php -addons: - apt: - packages: - - ghostscript - -env: - - SYMFONY_COMPONENTS_VERSION=2.3.* - - SYMFONY_COMPONENTS_VERSION=2.4.* - - SYMFONY_COMPONENTS_VERSION=2.5.* - sudo: false cache: directories: - $HOME/.composer/cache/files +addons: + apt: + packages: + - ghostscript + before_install: - composer self-update - - if [ "$SYMFONY_COMPONENTS_VERSION" != "" ]; then composer require "symfony/process:${SYMFONY_COMPONENTS_VERSION}" "symfony/filesystem:${SYMFONY_COMPONENTS_VERSION}" --no-update; fi; + - if [ "$SYMFONY_VERSION" != "" ]; then composer require "symfony/process:${SYMFONY_VERSION}" "symfony/filesystem:${SYMFONY_VERSION}" --no-update; fi; install: - composer update --prefer-dist -script: ./vendor/bin/phpunit -c tests/ +script: ./vendor/bin/phpunit -c tests/ --coverage-text matrix: include: - php: 5.3 dist: precise - env: SYMFONY_COMPONENTS_VERSION=2.3.* + env: SYMFONY_VERSION=2.3.* - php: 5.3 dist: precise - env: SYMFONY_COMPONENTS_VERSION=2.4.* + env: SYMFONY_VERSION=2.4.* - php: 5.3 dist: precise - env: SYMFONY_COMPONENTS_VERSION=2.5.* + env: SYMFONY_VERSION=2.5.* - php: 5.3 dist: precise - env: SYMFONY_COMPONENTS_VERSION=2.6.* + env: SYMFONY_VERSION=2.6.* - php: 5.3 dist: precise - env: SYMFONY_COMPONENTS_VERSION=2.7.* + env: SYMFONY_VERSION=2.7.* - php: 5.3 dist: precise - env: SYMFONY_COMPONENTS_VERSION=2.8.* + env: SYMFONY_VERSION=2.8.* - php: 5.4 - env: SYMFONY_COMPONENTS_VERSION=2.3.* + env: SYMFONY_VERSION=2.3.* - php: 5.4 - env: SYMFONY_COMPONENTS_VERSION=2.4.* + env: SYMFONY_VERSION=2.4.* - php: 5.4 - env: SYMFONY_COMPONENTS_VERSION=2.5.* + env: SYMFONY_VERSION=2.5.* - php: 5.4 - env: SYMFONY_COMPONENTS_VERSION=2.6.* + env: SYMFONY_VERSION=2.6.* - php: 5.4 - env: SYMFONY_COMPONENTS_VERSION=2.7.* + env: SYMFONY_VERSION=2.7.* - php: 5.4 - env: SYMFONY_COMPONENTS_VERSION=2.8.* + env: SYMFONY_VERSION=2.8.* - php: 5.5 - env: SYMFONY_COMPONENTS_VERSION=2.3.* + env: SYMFONY_VERSION=2.3.* - php: 5.5 - env: SYMFONY_COMPONENTS_VERSION=2.4.* + env: SYMFONY_VERSION=2.4.* - php: 5.5 - env: SYMFONY_COMPONENTS_VERSION=2.5.* + env: SYMFONY_VERSION=2.5.* - php: 5.5 - env: SYMFONY_COMPONENTS_VERSION=2.6.* + env: SYMFONY_VERSION=2.6.* - php: 5.5 - env: SYMFONY_COMPONENTS_VERSION=2.7.* + env: SYMFONY_VERSION=2.7.* - php: 5.5 - env: SYMFONY_COMPONENTS_VERSION=2.8.* + env: SYMFONY_VERSION=2.8.* - php: 5.5 - env: SYMFONY_COMPONENTS_VERSION=3.0.* + env: SYMFONY_VERSION=3.0.* - php: 5.5 - env: SYMFONY_COMPONENTS_VERSION=3.1.* + env: SYMFONY_VERSION=3.1.* - php: 5.5 - env: SYMFONY_COMPONENTS_VERSION=3.2.* + env: SYMFONY_VERSION=3.2.* - php: 5.5 - env: SYMFONY_COMPONENTS_VERSION=3.3.* + env: SYMFONY_VERSION=3.3.* - php: 5.5 - env: SYMFONY_COMPONENTS_VERSION=3.4.* + env: SYMFONY_VERSION=3.4.* + - php: 5.6 + env: SYMFONY_VERSION=2.3.* + - php: 5.6 + env: SYMFONY_VERSION=2.4.* + - php: 5.6 + env: SYMFONY_VERSION=2.5.* + - php: 5.6 + env: SYMFONY_VERSION=2.6.* + - php: 5.6 + env: SYMFONY_VERSION=2.7.* + - php: 5.6 + env: SYMFONY_VERSION=2.8.* + - php: 5.6 + env: SYMFONY_VERSION=3.0.* + - php: 5.6 + env: SYMFONY_VERSION=3.1.* + - php: 5.6 + env: SYMFONY_VERSION=3.2.* + - php: 5.6 + env: SYMFONY_VERSION=3.3.* + - php: 5.6 + env: SYMFONY_VERSION=3.4.* + - php: 7.0 + env: SYMFONY_VERSION=2.3.* + - php: 7.0 + env: SYMFONY_VERSION=2.4.* + - php: 7.0 + env: SYMFONY_VERSION=2.5.* + - php: 7.0 + env: SYMFONY_VERSION=2.6.* + - php: 7.0 + env: SYMFONY_VERSION=2.7.* + - php: 7.0 + env: SYMFONY_VERSION=2.8.* + - php: 7.0 + env: SYMFONY_VERSION=3.0.* + - php: 7.0 + env: SYMFONY_VERSION=3.1.* + - php: 7.0 + env: SYMFONY_VERSION=3.2.* + - php: 7.0 + env: SYMFONY_VERSION=3.3.* + - php: 7.0 + env: SYMFONY_VERSION=3.4.* + - php: 7.1 + env: SYMFONY_VERSION=3.4.* + - php: 7.1 + env: SYMFONY_VERSION=2.3.* + - php: 7.1 + env: SYMFONY_VERSION=2.4.* + - php: 7.1 + env: SYMFONY_VERSION=2.5.* + - php: 7.1 + env: SYMFONY_VERSION=2.6.* + - php: 7.1 + env: SYMFONY_VERSION=2.7.* + - php: 7.1 + env: SYMFONY_VERSION=2.8.* + - php: 7.1 + env: SYMFONY_VERSION=3.0.* + - php: 7.1 + env: SYMFONY_VERSION=3.1.* + - php: 7.1 + env: SYMFONY_VERSION=3.2.* + - php: 7.1 + env: SYMFONY_VERSION=3.3.* + - php: 7.1 + env: SYMFONY_VERSION=3.4.* + - php: 7.1 + env: SYMFONY_VERSION=3.4.* + - php: 7.1 + env: SYMFONY_VERSION=4.0.* + - php: 7.2 + env: SYMFONY_VERSION=3.4.* + - php: 7.2 + env: SYMFONY_VERSION=2.3.* + - php: 7.2 + env: SYMFONY_VERSION=2.4.* + - php: 7.2 + env: SYMFONY_VERSION=2.5.* + - php: 7.2 + env: SYMFONY_VERSION=2.6.* + - php: 7.2 + env: SYMFONY_VERSION=2.7.* + - php: 7.2 + env: SYMFONY_VERSION=2.8.* + - php: 7.2 + env: SYMFONY_VERSION=3.0.* + - php: 7.2 + env: SYMFONY_VERSION=3.1.* + - php: 7.2 + env: SYMFONY_VERSION=3.2.* + - php: 7.2 + env: SYMFONY_VERSION=3.3.* + - php: 7.2 + env: SYMFONY_VERSION=3.4.* + - php: 7.2 + env: SYMFONY_VERSION=3.4.* + - php: 7.2 + env: SYMFONY_VERSION=4.0.* allow_failures: - php: hhvm fast_finish: true