Skip to content

Commit

Permalink
chore: fix circleci build (#610)
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelpeixe authored Nov 1, 2021
1 parent ab2f892 commit bf3e7e6
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ commands:
jobs:
build:
docker:
- image: circleci/php:7.4-node-browsers
- image: cimg/php:7.4-browsers
steps:
- checkout_with_workspace
- run:
Expand All @@ -24,7 +24,7 @@ jobs:
# Linting
lint:
docker:
- image: circleci/php:7.4-node-browsers
- image: cimg/php:7.4-browsers
steps:
- checkout_with_workspace
- run:
Expand All @@ -41,7 +41,7 @@ jobs:
test-php:
docker:
- image: circleci/php:7.4
- image: cimg/php:7.4
- image: circleci/mysql:5.6
environment:
- WP_TESTS_DIR: '/tmp/wordpress-tests-lib'
Expand All @@ -56,9 +56,7 @@ jobs:
- run:
name: Install Dependencies
command: |
sudo apt-get update && sudo apt-get install subversion
sudo -E docker-php-ext-install mysqli
sudo apt-get update && sudo apt-get install default-mysql-client
sudo apt-get update && sudo apt-get install -y subversion default-mysql-client
- run:
name: Run Tests
command: |
Expand All @@ -70,7 +68,7 @@ jobs:
release_github:
docker:
- image: circleci/php:7.4-node-browsers
- image: cimg/php:7.4-browsers
steps:
- checkout_with_workspace
- run:
Expand All @@ -90,7 +88,7 @@ jobs:

release_wporg:
docker:
- image: circleci/php:7.4-node-browsers
- image: cimg/php:7.4-browsers
steps:
- checkout_with_workspace
- run:
Expand All @@ -101,7 +99,7 @@ jobs:
post_release:
docker:
- image: circleci/php:7.4-node-browsers
- image: cimg/php:7.4-browsers
steps:
- checkout_with_workspace
- run:
Expand Down

0 comments on commit bf3e7e6

Please sign in to comment.