Skip to content

Commit

Permalink
Use newer PHP version in community job
Browse files Browse the repository at this point in the history
For the composer commands. Laravel no longer supports PHP 7.4.
  • Loading branch information
nikic committed Jul 9, 2021
1 parent e3bbaa4 commit 8cec7db
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions azure/community_job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
git clone https://github.com/laravel/framework.git --branch=master --depth=1
cd framework
git rev-parse HEAD
php7.4 /usr/bin/composer install --no-progress
php8.0 /usr/bin/composer install --no-progress
# Hack to disable a test that hangs on azure
sed -i 's/PHP_OS/"Darwin"/' tests/Filesystem/FilesystemTest.php
export USE_ZEND_ALLOC=0
Expand All @@ -56,8 +56,8 @@ jobs:
git clone https://github.com/symfony/symfony.git --depth=1
cd symfony
git rev-parse HEAD
php7.4 /usr/bin/composer install --no-progress
php7.4 ./phpunit install
php8.0 /usr/bin/composer install --no-progress
php8.0 ./phpunit install
export USE_ZEND_ALLOC=0
export USE_TRACKED_ALLOC=1
export ASAN_OPTIONS=exitcode=139
Expand Down Expand Up @@ -89,14 +89,14 @@ jobs:
export USE_ZEND_ALLOC=0
export USE_TRACKED_ALLOC=1
export ASAN_OPTIONS=exitcode=139
php7.4 /usr/bin/composer install --no-progress
php8.0 /usr/bin/composer install --no-progress
php ./phpunit
if [ $? -gt 128 ]; then
exit 1
fi
displayName: 'Test PHPUnit'
- script: |
php7.4 /usr/bin/composer create-project symfony/symfony-demo symfony_demo --no-progress
php8.0 /usr/bin/composer create-project symfony/symfony-demo symfony_demo --no-progress
cd symfony_demo
git rev-parse HEAD
export USE_ZEND_ALLOC=0
Expand Down

0 comments on commit 8cec7db

Please sign in to comment.