Skip to content

Commit 890d07e

Browse files
committed
wat?
1 parent 036c70d commit 890d07e

File tree

1 file changed

+3
-35
lines changed

1 file changed

+3
-35
lines changed

azure/community_job.yml

Lines changed: 3 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -47,46 +47,14 @@ jobs:
4747
echo opcache.enable_cli=1 >> /etc/php.d/opcache.ini
4848
echo opcache.protect_memory=1 >> /etc/php.d/opcache.ini
4949
displayName: 'Install Build'
50-
- script: |
51-
git clone https://github.com/laravel/framework.git --branch=master --depth=1
52-
cd framework
53-
php7.3 /usr/bin/composer install --no-progress
54-
export USE_ZEND_ALLOC=0
55-
sed -i 's/$exit = true/$exit = false/g' vendor/phpunit/phpunit/src/TextUI/Command.php
56-
# Avoid test using exit(), which thus leaks.
57-
# We can use USE_TRACKED_ALLOC=1 if more of these show up.
58-
sed -i "s/function_exists('pcntl_fork')/false/" tests/Filesystem/FilesystemTest.php
59-
php vendor/bin/phpunit
60-
displayName: 'Test Laravel'
61-
- script: |
62-
git clone https://github.com/symfony/symfony.git --depth=1
63-
cd symfony
64-
php7.3 /usr/bin/composer install --no-progress
65-
php7.3 ./phpunit install
66-
export USE_ZEND_ALLOC=0
67-
export USE_TRACKED_ALLOC=1
68-
export ASAN_OPTIONS=exitcode=139
69-
php ./phpunit --exclude-group tty,benchmark,intl-data,transient
70-
if [ $? -gt 128 ]; then
71-
exit 1
72-
fi
73-
displayName: 'Test Symfony'
74-
condition: or(succeeded(), failed())
75-
- script: |
76-
git clone https://github.com/amphp/amp.git --branch=master --depth=1
77-
cd amp
78-
php /usr/bin/composer install --no-progress --ignore-platform-reqs
79-
export USE_ZEND_ALLOC=0
80-
sed -i 's/$exit = true/$exit = false/g' vendor/phpunit/phpunit/src/TextUI/Command.php
81-
php vendor/bin/phpunit
82-
displayName: 'Test Amphp'
83-
condition: or(succeeded(), failed())
8450
- script: |
8551
php7.3 /usr/bin/composer create-project symfony/symfony-demo symfony_demo --no-progress
8652
cd symfony_demo
8753
export USE_ZEND_ALLOC=0
8854
export USE_TRACKED_ALLOC=1
8955
sed -i 's/PHP_SAPI/"cli-server"/g' var/cache/dev/App_KernelDevDebugContainer.preload.php
90-
php -d opcache.preload=var/cache/dev/App_KernelDevDebugContainer.preload.php -r ''
56+
cat var/cache/dev/App_KernelDevDebugContainer.preload.php
57+
php -d opcache.preload=var/cache/dev/App_KernelDevDebugContainer.preload.php public/index.php
58+
echo $?
9159
displayName: 'Symfony Preloading'
9260
condition: or(succeeded(), failed())

0 commit comments

Comments
 (0)