Commit 678d0489 authored by Fabien Potencier's avatar Fabien Potencier

removed tests for obsolete Symfony versions

parent 5e032d07
...@@ -5,11 +5,12 @@ sudo: false ...@@ -5,11 +5,12 @@ sudo: false
env: env:
global: global:
- SYMFONY_DEPRECATIONS_HELPER=weak - SYMFONY_DEPRECATIONS_HELPER=weak
- SYMFONY_PHPUNIT_DIR=$HOME/.symfony-phpunit
cache: cache:
directories: directories:
- $HOME/.composer/cache/files - $HOME/.composer/cache/files
- .phpunit - $HOME/.symfony-phpunit
before_install: before_install:
- if [[ $TRAVIS_PHP_VERSION != hhvm ]]; then phpenv config-rm xdebug.ini; fi - if [[ $TRAVIS_PHP_VERSION != hhvm ]]; then phpenv config-rm xdebug.ini; fi
...@@ -20,21 +21,24 @@ before_script: ...@@ -20,21 +21,24 @@ before_script:
# Symfony 2.8 # Symfony 2.8
- if [[ $SYMFONY_DEPS_VERSION = 2.8 ]]; then sed -i 's/~2\.8|^3\.0/2.8.*@dev/g' composer.json; fi - if [[ $SYMFONY_DEPS_VERSION = 2.8 ]]; then sed -i 's/~2\.8|^3\.0/2.8.*@dev/g' composer.json; fi
# Symfony 3.0
- if [[ $SYMFONY_DEPS_VERSION = 3.0 ]]; then sed -i 's/~2\.8|^3\.0/3.0.*@dev/g' composer.json; fi
# Symfony 3.1
- if [[ $SYMFONY_DEPS_VERSION = 3.1 ]]; then sed -i 's/~2\.8|^3\.0/3.1.*@dev/g' composer.json; fi
# Symfony 3.2
- if [[ $SYMFONY_DEPS_VERSION = 3.2 ]]; then sed -i 's/~2\.8|^3\.0/3.2.*@dev/g' composer.json; fi
# Symfony 3.3 # Symfony 3.3
- | - |
if [[ $SYMFONY_DEPS_VERSION = 3.3 ]]; then if [[ $SYMFONY_DEPS_VERSION = 3.3 ]]; then
sed -i 's/~2\.8|^3\.0/3.3.*@dev/g' composer.json; sed -i 's/~2\.8|^3\.0/3.3.*@dev/g' composer.json;
composer require --dev --no-update symfony/web-link:3.3.* composer require --dev --no-update symfony/web-link:3.3.*
fi fi
# Symfony 3.4
- |
if [[ $SYMFONY_DEPS_VERSION = 3.4 ]]; then
sed -i 's/~2\.8|^3\.0/3.4.*@dev/g' composer.json;
composer require --dev --no-update symfony/web-link:3.3.*
fi
- composer update --no-suggest - composer update --no-suggest
install:
- ./vendor/bin/simple-phpunit install
script: ./vendor/bin/simple-phpunit script: ./vendor/bin/simple-phpunit
matrix: matrix:
...@@ -44,14 +48,10 @@ matrix: ...@@ -44,14 +48,10 @@ matrix:
env: TWIG_VERSION=2.0 env: TWIG_VERSION=2.0
- php: 5.6 - php: 5.6
env: SYMFONY_DEPS_VERSION=2.8 env: SYMFONY_DEPS_VERSION=2.8
- php: 5.6
env: SYMFONY_DEPS_VERSION=3.0
- php: 5.6
env: SYMFONY_DEPS_VERSION=3.1
- php: 5.6
env: SYMFONY_DEPS_VERSION=3.2
- php: 5.6 - php: 5.6
env: SYMFONY_DEPS_VERSION=3.3 env: SYMFONY_DEPS_VERSION=3.3
- php: 5.6
env: SYMFONY_DEPS_VERSION=3.4
- php: 5.6 - php: 5.6
- php: 7.0 - php: 7.0
- php: 7.1 - php: 7.1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment