Skip to content

Commit e0ff2a0

Browse files
committed
travis mysql compatibility workaround
1 parent 4f43171 commit e0ff2a0

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.travis.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,14 @@ php:
66
- "7.3"
77
- "7.4"
88

9-
addons:
10-
apt:
11-
sources:
12-
- mysql-5.6
13-
packages:
14-
- mysql-server
9+
services:
10+
- mysql
1511

1612
before_script:
1713
- composer self-update
1814
- composer install --dev --prefer-source
1915
- mysql -e 'create database myapp_test;'
16+
- mysql -e 'SET GLOBAL sql_mode = '';'
2017
- sed -e 's/@MYSQL_TESTDB_HOST@/'localhost'/' -e 's/@MYSQL_TESTDB_NAME@/'myapp_test'/' -e 's/@MYSQL_TESTDB_USER@/'root'/' -e 's/@MYSQL_TESTDB_PASSWORD@/''/' tests/Functional/config.php.dist > tests/Functional/config.php
2118

2219

0 commit comments

Comments
 (0)