Skip to content

Commit c48cf2e

Browse files
Try initializing the MySQL environment with correct database
1 parent 7e9d879 commit c48cf2e

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

circle.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,16 @@ jobs:
66
docker:
77
- image: circleci/php:7.1
88
- image: circleci/mysql:5.6
9+
environment:
10+
MYSQL_HOST: 127.0.0.1
11+
MYSQL_DB: wp_cli_test
12+
MYSQL_USER: wp_cli_test
13+
MYSQL_PASSWORD: password1
914
steps:
1015
- checkout
11-
- run: |
12-
sudo sh -c "printf '\ndeb http://ftp.us.debian.org/debian sid main\n' >> /etc/apt/sources.list"
13-
sudo apt-get update
14-
sudo docker-php-ext-install mysqli
15-
sudo apt-get install mysql-client-5.7
1616
- run: |
1717
composer require wp-cli/wp-cli:dev-master
1818
composer install
19-
bash bin/install-package-tests.sh
2019
- run: |
2120
composer validate
2221
WP_VERSION=latest bash bin/test.sh

0 commit comments

Comments
 (0)