add specifig php.ini file for travis
This commit is contained in:
@@ -8,7 +8,7 @@ env:
|
|||||||
- DB_USER=root
|
- DB_USER=root
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- echo "post_max_size = 20M" >> `php --ini | grep "Loaded Configuration" | sed -e "/^post_max_size/d"`
|
- phpenv config-add travis.php.ini
|
||||||
- composer self-update
|
- composer self-update
|
||||||
- composer install --prefer-dist --dev
|
- composer install --prefer-dist --dev
|
||||||
- sh -c "mysql -u$DB_USER -e 'SET FOREIGN_KEY_CHECKS = 0; DROP DATABASE IF EXISTS thelia;SET FOREIGN_KEY_CHECKS = 1;'; fi"
|
- sh -c "mysql -u$DB_USER -e 'SET FOREIGN_KEY_CHECKS = 0; DROP DATABASE IF EXISTS thelia;SET FOREIGN_KEY_CHECKS = 1;'; fi"
|
||||||
|
|||||||
1
travis.php.ini
Normal file
1
travis.php.ini
Normal file
@@ -0,0 +1 @@
|
|||||||
|
post_max_size = 20M
|
||||||
Reference in New Issue
Block a user