Use php7.0 for circleci
This commit is contained in:
parent
f31586874e
commit
c0fc7933ed
|
@ -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/
|
||||
|
|
Loading…
Reference in New Issue