Try to prevent scrutinizer freaking out on build process

This commit is contained in:
DariusIII
2018-01-23 12:40:16 +01:00
parent 48323e9a27
commit 881f88f0db
2 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ DB_PORT = 3306
DB_SOCKET =
DB_USER = root
DB_PASSWORD =
DB_NAME = scrutinizer
DB_NAME = TEST
DB_PCONNECT = false
NNTP_USERNAME =
+6 -2
View File
@@ -2,8 +2,12 @@ build:
dependencies:
# Overwrites inferred commands
override:
- 'composer install --no-interaction --prefer-source --no-scripts --ignore-platform-reqs'
- true
- composer install --prefer-dist
- mysql -u root -e "SET GLOBAL innodb_file_per_table = 1;"
- mysql -u root -e "SET GLOBAL innodb_file_format = BARRACUDA;"
- mysql -u root -e "SET GLOBAL innodb_large_prefix = 1;"
- mysql -u root -e "CREATE DATABASE TEST;"
- mysql -u root -e "GRANT ALL ON TEST.* TO 'TEST'@'localhost' IDENTIFIED BY 'TEST';"
before:
- cp .env.scrutinizer .env
environment: