77# ###########################################################################
88# This file is part of the Symfony CMF package. #
99# #
10- # (c) 2011-2017 Symfony CMF #
10+ # (c) Symfony CMF #
1111# #
1212# For the full copyright and license information, please view the LICENSE #
1313# file that was distributed with this source code. #
@@ -17,46 +17,44 @@ language: php
1717
1818php :
1919 - 7.1
20+ - 7.2
21+ - 7.3
2022
2123sudo : false
2224
2325cache :
2426 directories :
2527 - .phpunit
26- - $HOME/.composer/cache/files
28+ - $HOME/.composer/cache
2729
2830env :
29- matrix : SYMFONY_VERSION=4.0.*
3031 global :
31- - SYMFONY_DEPRECATIONS_HELPER="/.*each.*/"
32- - SYMFONY_PHPUNIT_DIR=.phpunit SYMFONY_PHPUNIT_REMOVE="symfony/yaml"
3332 - SYMFONY_PHPUNIT_VERSION=6
34- - TEST_INSTALLATION=false
33+ - COMPOSER_MEMORY_LIMIT=-1
34+ - SYMFONY_DEPRECATIONS_HELPER="max[self]=0"
3535
3636matrix :
3737 include :
38- - php : 7.2
39- env : SYMFONY_VERSION=4.0.*
4038 - php : 7.1
41- env : COMPOSER_FLAGS="--prefer-lowest" SYMFONY_VERSION=2.8.* SYMFONY_DEPRECATIONS_HELPER=weak
42- - php : 7.2
43- env : SYMFONY_VERSION=3.3.*
44- - php : 7.2
45- env : SYMFONY_VERSION=3.4.*
39+ env : COMPOSER_FLAGS="--prefer-lowest" SYMFONY_REQUIRE=3.4.* SYMFONY_DEPRECATIONS_HELPER=weak
40+ - php : 7.4
41+ env : SYMFONY_REQUIRE=3.4.*
42+ - php : 7.4
43+ env : SYMFONY_REQUIRE=4.3.*
44+ - php : 7.4
45+ env : SYMFONY_REQUIRE=4.4.*
4646 fast_finish : true
4747 allow_failures :
4848
4949before_install :
5050 - phpenv config-rm xdebug.ini || true
51- - composer self-update
52- - composer validate --no-check-all --ansi
53- - if ! [ -z "$STABILITY" ]; then composer config minimum-stability ${STABILITY}; composer config prefer-stable true; fi;
54- - if [ "$SYMFONY_VERSION" != "" ]; then composer require symfony/symfony:${SYMFONY_VERSION} --no-update; fi
55- - export BRANCH=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo $TRAVIS_BRANCH; else echo $TRAVIS_PULL_REQUEST_BRANCH; fi)
51+ - composer global require --no-progress --no-scripts --no-plugins symfony/flex
52+
53+ install : travis_wait composer update -n --prefer-stable --prefer-dist $COMPOSER_FLAGS
5654
57- install : travis_wait composer update --prefer-dist $COMPOSER_FLAGS
5855script :
59- - if [ "${TEST_INSTALLATION}" == true ]; then make test_installation; else make test; fi
56+ - composer validate --no-check-all --ansi
57+ - make test
6058
6159notifications :
6260 irc : " irc.freenode.org#symfony-cmf"
0 commit comments