minor #36924 [travis] skip extensions that dont compile on nightly (nicolas-grekas)
This PR was merged into the 4.4 branch.
Discussion
----------
[travis] skip extensions that dont compile on nightly
| Q | A
| ------------- | ---
| Branch? | 4.4
| Bug fix? | no
| New feature? | no
| Deprecations? | no
| Tickets | #36872
| License | MIT
| Doc PR | -
Commits
-------
c26044b0b1
[travis] skip extensions that dont compile on nightly
This commit is contained in:
commit
a14d8f9da4
15
.travis.yml
15
.travis.yml
@ -155,14 +155,15 @@ before_install:
|
||||
fi
|
||||
if [[ $PHP = nightly ]]; then
|
||||
tfold ext.memcached tpecl memcached-3.1.5 memcached.so $INI
|
||||
else
|
||||
tfold ext.apcu tpecl apcu-5.1.18 apcu.so $INI
|
||||
tfold ext.mongodb tpecl mongodb-1.6.16 mongodb.so $INI
|
||||
tfold ext.zookeeper tpecl zookeeper-0.7.2 zookeeper.so $INI
|
||||
tfold ext.amqp tpecl amqp-1.10.2 amqp.so $INI
|
||||
tfold ext.redis tpecl redis-5.2.2 redis.so $INI "no"
|
||||
fi
|
||||
|
||||
tfold ext.apcu tpecl apcu-5.1.17 apcu.so $INI
|
||||
tfold ext.mongodb tpecl mongodb-1.6.0 mongodb.so $INI
|
||||
tfold ext.igbinary tpecl igbinary-3.1.2 igbinary.so $INI
|
||||
tfold ext.zookeeper tpecl zookeeper-0.7.1 zookeeper.so $INI
|
||||
tfold ext.amqp tpecl amqp-1.9.4 amqp.so $INI
|
||||
tfold ext.redis tpecl redis-4.3.0 redis.so $INI "no"
|
||||
done
|
||||
- |
|
||||
# List all php extensions with versions
|
||||
@ -266,7 +267,7 @@ install:
|
||||
return
|
||||
fi
|
||||
phpenv global $PHP
|
||||
([[ $deps ]] && cd src/Symfony/Component/HttpFoundation; cp composer.json composer.bak; composer config platform.ext-mongodb 1.6.0; composer require --dev --no-update mongodb/mongodb ~1.5.0)
|
||||
([[ $deps ]] && cd src/Symfony/Component/HttpFoundation; cp composer.json composer.bak; composer config platform.ext-mongodb 1.6.99; composer require --dev --no-update mongodb/mongodb ~1.5.0)
|
||||
tfold 'composer update' $COMPOSER_UP
|
||||
tfold 'phpunit install' ./phpunit install
|
||||
if [[ $deps = high ]]; then
|
||||
@ -283,7 +284,7 @@ install:
|
||||
git fetch --depth=2 origin $SYMFONY_VERSION
|
||||
git checkout -m FETCH_HEAD
|
||||
COMPONENTS=$(echo "$COMPONENTS" | xargs dirname | xargs -n1 -I{} bash -c "[ -e '{}/phpunit.xml.dist' ] && echo '{}'" | sort)
|
||||
(cd src/Symfony/Component/HttpFoundation; composer config platform.ext-mongodb 1.6.0; composer require --dev --no-update mongodb/mongodb)
|
||||
(cd src/Symfony/Component/HttpFoundation; composer config platform.ext-mongodb 1.6.99; composer require --dev --no-update mongodb/mongodb)
|
||||
[[ ! $COMPONENTS ]] || tfold 'phpunit install' SYMFONY_PHPUNIT_REMOVE_RETURN_TYPEHINT=1 ./phpunit install
|
||||
[[ ! $COMPONENTS ]] || echo "$COMPONENTS" | parallel --gnu "tfold {} 'cd {} && rm composer.lock vendor/ -Rf && $COMPOSER_UP && $PHPUNIT_X$LEGACY'" || X=1
|
||||
fi
|
||||
|
Reference in New Issue
Block a user