Skip to content

Commit

Permalink
fix: update ci images (#1210)
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelpeixe authored Nov 1, 2021
1 parent ba44c58 commit c476f08
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 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.2-node-browsers
- image: cimg/php:7.4-browsers
steps:
- checkout_with_workspace
- run:
Expand All @@ -24,7 +24,7 @@ jobs:
# JS & SCSS Jobs
lint-js-scss:
docker:
- image: circleci/php:7.2-node-browsers
- image: cimg/php:7.4-browsers
steps:
- checkout_with_workspace
- run:
Expand All @@ -33,7 +33,7 @@ jobs:

test-js:
docker:
- image: circleci/php:7.2-node-browsers
- image: cimg/php:7.4-browsers
steps:
- checkout_with_workspace
- run:
Expand All @@ -43,7 +43,7 @@ jobs:
# PHP jobs
lint-php:
docker:
- image: circleci/php:7.2
- image: cimg/php:7.4
steps:
- checkout
- run:
Expand All @@ -54,7 +54,7 @@ jobs:
test-php:
docker:
- image: circleci/php:7.2
- image: cimg/php:7.4
- image: circleci/mysql:5.6.50
environment:
- WP_TESTS_DIR: '/tmp/wordpress-tests-lib'
Expand All @@ -69,9 +69,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 @@ -84,12 +82,12 @@ jobs:
# Release job
release:
docker:
- image: circleci/php:7.2-node-browsers
- image: cimg/php:7.4-browsers
steps:
- checkout_with_workspace
- run:
name: Install rsync
command: sudo apt install rsync
command: sudo apt-get update && sudo apt-get install rsync
- run:
name: Install PHP packages
command: composer install --no-dev --no-scripts
Expand All @@ -100,7 +98,7 @@ jobs:
# Reset alpha branch after a release
post_release:
docker:
- image: circleci/php:7.2-node-browsers
- image: cimg/php:7.4-browsers
steps:
- checkout
- run:
Expand Down

0 comments on commit c476f08

Please sign in to comment.