Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/circleci build #214

Merged
merged 5 commits into from
Nov 1, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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