Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
MacFJA committed Jan 25, 2021
1 parent 2e74db8 commit 2831a31
Show file tree
Hide file tree
Showing 7 changed files with 511 additions and 144 deletions.
11 changes: 0 additions & 11 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,13 @@ jobs:
sudo docker-php-ext-configure bcmath --enable-bcmath
sudo docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/
sudo docker-php-ext-install bcmath xsl gd
- run:
name: Install PHIVE
command: |
wget -O phive.phar https://phar.io/releases/phive.phar
wget -O phive.phar.asc https://phar.io/releases/phive.phar.asc
gpg --keyserver pool.sks-keyservers.net --recv-keys 0x9D8A98B29B2D5D79
gpg --verify phive.phar.asc phive.phar
chmod +x phive.phar
- restore_cache:
keys:
- composer-v1-{{ checksum "composer.lock" }}
- composer-v1-
- run:
name: Change memory limit of PHP
command: sudo bash -c "echo 'memory_limit = -1' >> /usr/local/etc/php/conf.d/docker-php-memlimit.ini"
- run:
name: Install tools with PHIVE
command: php phive.phar install --force-accept-unsigned --trust-gpg-keys 4AA394086372C20A,E82B2FB314E9906E,C00543248C87FB13,8A03EA3B385DBAA1,CF1A108D0E7AE720,8101FB57DD8130F0

- run:
name: Run code quality analysis
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"phpmd/phpmd": "^2.8",
"phpstan/phpstan": "^0.12.25",
"rskuipers/php-assumptions": "^0.8.0",
"sebastian/phpcpd": "^5.0",
"sebastian/phpcpd": "^6.0",
"symfony/debug-pack": "*",
"symfony/maker-bundle": "^1.0",
"symfony/polyfill-mbstring": "< 1.22.0",
Expand Down
166 changes: 144 additions & 22 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 2831a31

Please sign in to comment.