Skip to content

Commit ef47804

Browse files
committed
Configure CircleCI env
1 parent fd0ac30 commit ef47804

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

.circleci/config.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,29 @@
11
version: 2
22

3+
commands:
4+
disable-php-memory-limit:
5+
steps:
6+
- run:
7+
name: Disable PHP memory limit
8+
command: echo 'memory_limit=-1' | sudo tee -a /usr/local/etc/php/php.ini
9+
disable-xdebug-php-extension:
10+
steps:
11+
- run:
12+
name: Disable Xdebug PHP extension
13+
command: sudo rm /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
14+
315
jobs:
416
build:
517
branches:
618
only:
719
- master
820
- build-v2
921
docker:
10-
- image: circleci/php:7.1
22+
- image: circleci/php:7.2
1123
steps:
1224
- checkout
25+
- disable-xdebug-php-extension
26+
- disable-php-memory-limit
1327
- run: git config --global user.name "Florian Weber (via CircleCI)"
1428
- run: git config --global user.email "florian@webflo.org"
1529
- add_ssh_keys

0 commit comments

Comments
 (0)