Explorar o código

Minor - Set memory limit

jmontoyaa %!s(int64=6) %!d(string=hai) anos
pai
achega
01dd618f34
Modificáronse 2 ficheiros con 3 adicións e 1 borrados
  1. 2 1
      .travis.yml
  2. 1 0
      tests/travis/php-config.ini

+ 2 - 1
.travis.yml

@@ -66,9 +66,10 @@ before_install:
   - mysqld --version
   - apache2 -v
   - php -v
+  - php -ini | grep memory_limit
   - sudo cat /etc/hosts
-
   - phpenv config-add tests/travis/php-config.ini
+  - php -ini | grep memory_limit
 
   # Install Chash, a database, and then install Chamilo
   - git clone https://github.com/chamilo/chash

+ 1 - 0
tests/travis/php-config.ini

@@ -2,3 +2,4 @@
 ; see http://docs.travis-ci.com/user/languages/php/#Custom-PHP-configuration
 date.timezone = Europe/Paris
 phar.readonly = Off
+memory_limit = 4096M