Skip to content
This repository was archived by the owner on Dec 14, 2024. It is now read-only.

Commit ca06377

Browse files
Merge pull request #49 from alexislefebvre/remove-outdated-symfony-versions
Travis CI: Remove old versions of Symfony from test matrix
2 parents 62ec32c + abff776 commit ca06377

File tree

4 files changed

+8
-15
lines changed

4 files changed

+8
-15
lines changed

.scrutinizer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ build:
2121
dependencies:
2222
override:
2323
-
24-
command: 'composer require --dev "symfony/symfony:2.8.*" --no-update'
24+
command: 'composer require --dev "symfony/symfony:3.4.*" --no-update'
2525
-
2626
command: 'composer install --no-interaction -vv --profile --no-progress'
2727
idle_timeout: 900

.travis.yml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,31 +11,24 @@ cache:
1111
- $HOME/.composer/cache
1212

1313
php:
14-
- 5.6
15-
- 7.0
1614
- 7.1
15+
- 7.2
1716

1817
env:
1918
- SYMFONY_VERSION="2.8.*"
20-
- SYMFONY_VERSION="3.3.*"
19+
- SYMFONY_VERSION="3.4.*"
2120

2221
matrix:
2322
include:
24-
- php: 5.6
25-
env: SYMFONY_VERSION="2.7.*"
2623
- php: 7.0
27-
env: SYMFONY_VERSION="3.2.*"
28-
- php: 7.2
29-
env: SYMFONY_VERSION="3.3.*"
30-
- php: 7.2
31-
env: SYMFONY_VERSION="3.4.*@beta"
24+
env: SYMFONY_VERSION="3.4"
3225

3326
# Only send code coverage to Code Climate for the current versions of PHP and Symfony LTS
3427
# https://github.com/doctrine/doctrine2/blob/3570f4a49afc7e98fed71e0596dded6a39d4fd7b/.travis.yml#L16
3528
before_install:
3629
- if echo "$TRAVIS_COMMIT_MESSAGE" | grep -F -q "[skip travis]" ; then echo "[skip travis] has been found, exiting" && exit 0 ; else echo "[skip travis] has not been found, continuing" ; fi
37-
- if [[ $TRAVIS_PHP_VERSION = '7.0' && $SYMFONY_VERSION = '2.8.*' ]]; then DEPENDENCY="codeclimate/php-test-reporter:~0.3 satooshi/php-coveralls:~1.0"; PHPUNIT_FLAGS="--coverage-clover ./build/logs/clover.xml"; else DEPENDENCY=""; PHPUNIT_FLAGS=""; fi
38-
- if [[ $TRAVIS_PHP_VERSION != '7.0' && $TRAVIS_PHP_VERSION != 'hhvm' && $PHPUNIT_FLAGS = "" ]]; then phpenv config-rm xdebug.ini; fi
30+
- if [[ $TRAVIS_PHP_VERSION = '7.2' && $SYMFONY_VERSION = '3.4.*' ]]; then DEPENDENCY="codeclimate/php-test-reporter:~0.3 satooshi/php-coveralls:~1.0"; PHPUNIT_FLAGS="--coverage-clover ./build/logs/clover.xml"; else DEPENDENCY=""; PHPUNIT_FLAGS=""; fi
31+
- if [[ $PHPUNIT_FLAGS = "" ]]; then phpenv config-rm xdebug.ini; fi
3932

4033
install:
4134
- composer require --dev symfony/symfony:${SYMFONY_VERSION} $DEPENDENCY --no-update

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ install:
3939
- cd c:\projects\asynctweetsbundle
4040
- IF NOT EXIST composer.phar (appveyor DownloadFile https://getcomposer.org/download/1.3.2/composer.phar)
4141
- php composer.phar self-update -vvv
42-
- php composer.phar require "symfony/symfony:2.8.*" --no-progress --ansi
42+
- php composer.phar require "symfony/symfony:3.4.*" --no-progress --ansi
4343

4444
test_script:
4545
- cd c:\projects\asynctweetsbundle

circle.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ dependencies:
66
- sed -i 's/^;//' /opt/circleci/php/$(phpenv global)/etc/conf.d/xdebug.ini
77
- rm /opt/circleci/php/$(phpenv global)/etc/conf.d/xdebug.ini
88
override:
9-
- composer require --dev "symfony/symfony:2.8.*" --no-update
9+
- composer require --dev "symfony/symfony:3.4.*" --no-update
1010
- composer install --no-interaction --profile --no-progress
1111

1212
test:

0 commit comments

Comments
 (0)