Enforce memory limit in phpunit.xml (#320)
This will help highlight memory regressions, make it easier for newcomers to get started with the codebase w/o editing php.ini defaults (128M), and also keep things consistent between local and travis runs.pull/341/head
parent
c0233722ff
commit
d349a07d55
|
@ -11,4 +11,7 @@
|
||||||
<directory>./src</directory>
|
<directory>./src</directory>
|
||||||
</whitelist>
|
</whitelist>
|
||||||
</filter>
|
</filter>
|
||||||
|
<php>
|
||||||
|
<ini name="memory_limit" value="256M"/>
|
||||||
|
</php>
|
||||||
</phpunit>
|
</phpunit>
|
||||||
|
|
Loading…
Reference in New Issue