Use php7.0 for circleci

This commit is contained in:
Ivan Diaz 2021-11-25 11:24:22 +01:00
parent f31586874e
commit c0fc7933ed
1 changed files with 8 additions and 2 deletions

View File

@ -5,16 +5,22 @@ orbs:
aws-cli: circleci/aws-cli@1.0.0
jobs:
install_composer_packages:
executor: php/default
docker:
- image: 'cimg/base:edge'
steps:
- checkout
- php/install-php:
version: '7.0'
- php/install-composer
- run:
name: Install php extensions
command: |
sudo add-apt-repository ppa:ondrej/php
sudo apt install php7.4-imap
sudo apt update
sudo apt install php7.0-imap -y
sudo apt install php7.0-xml -y
sudo apt install zip unzip php7.0-zip php7.0-mbstring -y
- php/install-packages:
app-dir: server/