File tree Expand file tree Collapse file tree 1 file changed +15
-6
lines changed
Expand file tree Collapse file tree 1 file changed +15
-6
lines changed Original file line number Diff line number Diff line change @@ -2,11 +2,19 @@ sudo: false
22
33language : php
44
5+ cache :
6+ directories :
7+ - $HOME/.composer/cache/files
8+
59matrix :
10+ fast_finish : true
611 include :
712 - php : 7.1
13+ - php : 7.2
814 - php : 7.2
915 env : COMPOSER_FLAGS="--prefer-lowest"
16+
17+ # Test Symfony versions
1018 - php : 7.2
1119 env : SYMFONY_VERSION=2.7.*
1220 - php : 7.2
@@ -19,22 +27,23 @@ matrix:
1927 env : SYMFONY_VERSION=4.0.*
2028 - php : 7.2
2129 env : SYMFONY_VERSION=4.0.* REMOVE_PROXY_BRIDGE="yes" EXTRA_PHPUNIT_PARAMS="--group SymfonyBridgeProxyManagerDependency"
30+ allow_failures :
31+ - env : COMPOSER_FLAGS="--prefer-lowest"
2232
2333env :
2434 global :
25- - SYMFONY_VERSION=""
26- - REMOVE_PROXY_BRIDGE="no"
35+ - COMPOSER_FLAGS=""
2736 - EXTRA_PHPUNIT_PARAMS=""
28- - COMPOSER_FLAGS="--prefer-dist"
37+ - REMOVE_PROXY_BRIDGE="no"
38+ - SYMFONY_VERSION=""
2939
3040before_install :
3141 - composer self-update
3242 - if [ "$SYMFONY_VERSION" != "" ]; then composer require --no-update symfony/http-kernel:$SYMFONY_VERSION symfony/dependency-injection:$SYMFONY_VERSION symfony/yaml:$SYMFONY_VERSION symfony/config:$SYMFONY_VERSION symfony/monolog-bridge:$SYMFONY_VERSION symfony/framework-bundle:$SYMFONY_VERSION symfony/proxy-manager-bridge:$SYMFONY_VERSION; fi
3343
3444install :
35- - composer update $COMPOSER_FLAGS
45+ - composer update --prefer-dist $COMPOSER_FLAGS
3646 - if [ "$REMOVE_PROXY_BRIDGE" == "yes" ]; then composer remove symfony/proxy-manager-bridge; fi
3747
3848script :
39- - vendor/bin/phpunit $EXTRA_PHPUNIT_PARAMS
40-
49+ - ./vendor/bin/phpunit $EXTRA_PHPUNIT_PARAMS
You can’t perform that action at this time.
0 commit comments