mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-16 12:26:30 +00:00
Remove boilerplate to run tests on PHP 8
This commit is contained in:
+1
-8
@@ -18,14 +18,7 @@ before_install:
|
|||||||
|
|
||||||
install:
|
install:
|
||||||
- travis_retry composer install
|
- travis_retry composer install
|
||||||
- |
|
- ./vendor/bin/simple-phpunit install
|
||||||
# install the phpunit-bridge with PHP 7.4 when testing nightly
|
|
||||||
if [[ $TRAVIS_PHP_VERSION = nightly ]]; then
|
|
||||||
(cd / && wget https://storage.googleapis.com/travis-ci-language-archives/php/binaries/ubuntu/16.04/x86_64/php-7.4.tar.bz2 -O - | tar -xj)
|
|
||||||
phpenv global 7.4;
|
|
||||||
./vendor/bin/simple-phpunit install;
|
|
||||||
phpenv global nightly;
|
|
||||||
fi
|
|
||||||
|
|
||||||
script: ./vendor/bin/simple-phpunit
|
script: ./vendor/bin/simple-phpunit
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -28,7 +28,7 @@
|
|||||||
"symfony/polyfill-ctype": "^1.8"
|
"symfony/polyfill-ctype": "^1.8"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"symfony/phpunit-bridge": "^4.4|^5.0",
|
"symfony/phpunit-bridge": "^4.4.9|^5.0.9",
|
||||||
"psr/container": "^1.0"
|
"psr/container": "^1.0"
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
|
|||||||
Reference in New Issue
Block a user