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
|
aws-cli: circleci/aws-cli@1.0.0
|
||||||
jobs:
|
jobs:
|
||||||
install_composer_packages:
|
install_composer_packages:
|
||||||
executor: php/default
|
docker:
|
||||||
|
- image: 'cimg/base:edge'
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
|
- php/install-php:
|
||||||
|
version: '7.0'
|
||||||
- php/install-composer
|
- php/install-composer
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: Install php extensions
|
name: Install php extensions
|
||||||
command: |
|
command: |
|
||||||
sudo add-apt-repository ppa:ondrej/php
|
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:
|
- php/install-packages:
|
||||||
app-dir: server/
|
app-dir: server/
|
||||||
|
|
Loading…
Reference in New Issue