7
7
# ###########################################################################
8
8
# This file is part of the Symfony CMF package. #
9
9
# #
10
- # (c) 2011-2017 Symfony CMF #
10
+ # (c) Symfony CMF #
11
11
# #
12
12
# For the full copyright and license information, please view the LICENSE #
13
13
# file that was distributed with this source code. #
@@ -17,50 +17,42 @@ language: php
17
17
18
18
php :
19
19
- 7.1
20
+ - 7.2
21
+ - 7.3
20
22
21
23
sudo : false
22
24
23
25
cache :
24
26
directories :
25
27
- .phpunit
26
- - $HOME/.composer/cache/files
28
+ - $HOME/.composer/cache
27
29
28
30
env :
29
31
matrix : SYMFONY_VERSION=4.0.*
30
32
global :
31
- - SYMFONY_DEPRECATIONS_HELPER="/.*each.*/"
32
- - SYMFONY_PHPUNIT_DIR=.phpunit SYMFONY_PHPUNIT_REMOVE="symfony/yaml"
33
33
- SYMFONY_PHPUNIT_VERSION=6
34
- - TEST_INSTALLATION=false
34
+ - COMPOSER_MEMORY_LIMIT=-1
35
+ - SYMFONY_DEPRECATIONS_HELPER="max[self]=0"
35
36
36
37
matrix :
37
38
include :
38
- - php : 7.2
39
- env : SYMFONY_VERSION=4.2.*
40
- - php : 7.2
41
- env : SYMFONY_VERSION=4.1.*
42
- - php : 7.2
43
- env : SYMFONY_VERSION=4.0.*
44
39
- php : 7.1
45
- env : COMPOSER_FLAGS="--prefer-lowest" SYMFONY_VERSION=2.8 .* SYMFONY_DEPRECATIONS_HELPER=weak
46
- - php : 7.2
47
- env : SYMFONY_VERSION=3 .3.*
48
- - php : 7.2
49
- env : SYMFONY_VERSION=3 .4.*
40
+ env : COMPOSER_FLAGS="--prefer-lowest" SYMFONY_REQUIRE=3.4 .* SYMFONY_DEPRECATIONS_HELPER=weak
41
+ - php : 7.4
42
+ env : SYMFONY_REQUIRE=4 .3.*
43
+ - php : 7.4
44
+ env : SYMFONY_REQUIRE=4 .4.*
50
45
fast_finish : true
51
46
allow_failures :
52
47
53
48
before_install :
54
49
- phpenv config-rm xdebug.ini || true
55
- - composer self-update
56
- - composer validate --no-check-all --ansi
57
- - if ! [ -z "$STABILITY" ]; then composer config minimum-stability ${STABILITY}; composer config prefer-stable true; fi;
58
- - if [ "$SYMFONY_VERSION" != "" ]; then composer require symfony/symfony:${SYMFONY_VERSION} --no-update; fi
59
- - export BRANCH=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo $TRAVIS_BRANCH; else echo $TRAVIS_PULL_REQUEST_BRANCH; fi)
50
+ - composer global require --no-progress --no-scripts --no-plugins symfony/flex
60
51
61
- install : travis_wait composer update --prefer-dist $COMPOSER_FLAGS
52
+ install : travis_wait composer update -n --prefer-stable - -prefer-dist $COMPOSER_FLAGS
62
53
script :
63
- - if [ "${TEST_INSTALLATION}" == true ]; then make test_installation; else make test; fi
54
+ - composer validate --no-check-all --ansi
55
+ - make test
64
56
65
57
notifications :
66
58
irc : " irc.freenode.org#symfony-cmf"
0 commit comments