Skip to content

Commit

Permalink
Merge pull request #203 from wp-cli/fix/use-maria-db-10-6
Browse files Browse the repository at this point in the history
Use MariaDB 10.6 and PHP 7.4 images to fix CircleCI builds
  • Loading branch information
danielbachhuber authored Aug 8, 2022
2 parents 5c446b3 + 9de3631 commit 910a7c5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ jobs:
working_directory: ~/wp-cli/package-tests
parallelism: 1
docker:
- image: circleci/php:7.1
- image: circleci/php:7.4
environment:
WP_CLI_TEST_DBHOST: 127.0.0.1:3306
WP_CLI_TEST_DBROOTPASS: root
WP_CLI_TEST_DBUSER: wp_cli_test
WP_CLI_TEST_DBPASS: password1
- image: circleci/mariadb:10.5
- image: circleci/mariadb:10.6
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: wp_cli_test
Expand All @@ -22,7 +22,7 @@ jobs:
sudo sh -c "printf '\ndeb http://ftp.us.debian.org/debian sid main\n' >> /etc/apt/sources.list"
sudo apt-get update
sudo docker-php-ext-install mysqli
sudo apt-get install mariadb-client-10.5
sudo apt-get install mariadb-client-10.6
- run: |
echo -e "memory_limit = 1024M" | sudo tee /usr/local/etc/php/php.ini > /dev/null
- run: |
Expand Down

0 comments on commit 910a7c5

Please sign in to comment.