|
38 | 38 | echo opcache.protect_memory=1 >> /etc/php.d/opcache.ini
|
39 | 39 | echo opcache.jit_buffer_size=1G >> /etc/php.d/opcache.ini
|
40 | 40 | displayName: 'Install Build'
|
41 |
| - - script: | |
42 |
| - git clone https://github.com/laravel/framework.git --branch=master --depth=1 |
43 |
| - cd framework |
44 |
| - git rev-parse HEAD |
45 |
| - php8.0 /usr/bin/composer install --no-progress |
46 |
| - # Hack to disable a test that hangs on azure |
47 |
| - sed -i 's/PHP_OS/"Darwin"/' tests/Filesystem/FilesystemTest.php |
48 |
| - export USE_ZEND_ALLOC=0 |
49 |
| - export ASAN_OPTIONS=exitcode=139 |
50 |
| - php vendor/bin/phpunit |
51 |
| - if [ $? -gt 128 ]; then |
52 |
| - exit 1 |
53 |
| - fi |
54 |
| - displayName: 'Test Laravel' |
55 |
| - - script: | |
56 |
| - git clone https://github.com/symfony/symfony.git --depth=1 |
57 |
| - cd symfony |
58 |
| - git rev-parse HEAD |
59 |
| - php8.0 /usr/bin/composer install --no-progress |
60 |
| - php8.0 ./phpunit install |
61 |
| - export USE_ZEND_ALLOC=0 |
62 |
| - export USE_TRACKED_ALLOC=1 |
63 |
| - export ASAN_OPTIONS=exitcode=139 |
64 |
| - export SYMFONY_DEPRECATIONS_HELPER=max[total]=999 |
65 |
| - X=0 |
66 |
| - for component in $(find src/Symfony -mindepth 2 -type f -name phpunit.xml.dist -printf '%h\n'); do |
67 |
| - php ./phpunit $component --exclude-group tty,benchmark,intl-data,transient; |
68 |
| - if [ $? -gt 128 ]; then |
69 |
| - X=1; |
70 |
| - fi |
71 |
| - done |
72 |
| - exit $X |
73 |
| - displayName: 'Test Symfony' |
74 |
| - condition: or(succeeded(), failed()) |
75 | 41 | - script: |
|
76 | 42 | git clone https://github.com/amphp/amp.git --branch=master --depth=1
|
77 | 43 | cd amp
|
|
0 commit comments