Skip to content

Commit f31d6bc

Browse files
committed
add mysql settings
1 parent 716fc80 commit f31d6bc

File tree

4 files changed

+11
-4
lines changed

4 files changed

+11
-4
lines changed

.travis.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,14 @@ notifications:
88
email: false
99

1010
env:
11-
- REPORT_EXIT_STATUS=1
11+
global:
12+
- MYSQL_TEST_HOST=127.0.0.1
13+
- MYSQL_TEST_USER=travis
14+
- PDO_MYSQL_TEST_DSN=mysql:host=127.0.0.1;dbname=test
15+
- PDO_MYSQL_TEST_USER=travis
16+
- PDO_MYSQL_TEST_PASS=
17+
matrix:
18+
- REPORT_EXIT_STATUS=1
1219

1320
before_script:
1421
# Compile PHP

travis/ext/mysql/setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/bin/bash
2-
mysql -u root -e "CREATE DATABASE IF NOT EXISTS test"
2+
mysql -e "CREATE DATABASE IF NOT EXISTS test"

travis/ext/mysqli/setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/bin/bash
2-
mysql -u root -e "CREATE DATABASE IF NOT EXISTS test"
2+
mysql -e "CREATE DATABASE IF NOT EXISTS test"

travis/ext/pdo_mysql/setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/bin/bash
2-
mysql -u root -e "CREATE DATABASE IF NOT EXISTS test"
2+
mysql -e "CREATE DATABASE IF NOT EXISTS test"

0 commit comments

Comments
 (0)