Skip to content

Commit

Permalink
fix: update circleci build images (#214)
Browse files Browse the repository at this point in the history
* fix: change circleci build image version

* fix: use cimg images

* fix: remove missing docker-php-ext-install command

* fix: install php ext through apt

* fix: proper soap version
  • Loading branch information
miguelpeixe authored Nov 1, 2021
1 parent ad5a5ac commit 78da65e
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,14 @@ commands:
- run:
name: Install PHP extensions
command: |
sudo apt-get update && sudo apt-get install -y libxml2-dev
sudo -E docker-php-ext-install soap
sudo apt-get update && sudo apt-get install -y libxml2-dev php7.4-soap
- attach_workspace:
at: ~/

jobs:
build:
docker:
- image: circleci/php:7.3-node-browsers
- image: cimg/php:7.4-browsers
steps:
- checkout_with_workspace
- run:
Expand All @@ -29,7 +28,7 @@ jobs:
# Linting
lint:
docker:
- image: circleci/php:7.3-node-browsers
- image: cimg/php:7.4-browsers
steps:
- checkout_with_workspace
- run:
Expand All @@ -46,7 +45,7 @@ jobs:
test-php:
docker:
- image: circleci/php:7.3
- image: cimg/php:7.4
- image: circleci/mysql:5.6
environment:
- WP_TESTS_DIR: '/tmp/wordpress-tests-lib'
Expand All @@ -61,9 +60,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 @@ -76,7 +73,7 @@ jobs:
# Release job
release:
docker:
- image: circleci/php:7.3-node-browsers
- image: cimg/php:7.4-browsers
steps:
- checkout_with_workspace
- run:
Expand All @@ -92,7 +89,7 @@ jobs:
# Reset alpha branch after a release
post_release:
docker:
- image: circleci/php:7.3-node-browsers
- image: cimg/php:7.4-browsers
steps:
- checkout
- run:
Expand Down

0 comments on commit 78da65e

Please sign in to comment.