Browse Source

Minor - Set memory limit

jmontoyaa 6 years ago
parent
commit
01dd618f34
2 changed files with 3 additions and 1 deletions
  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