Skip to content

Commit

Permalink
Install sebastianbergmann/phpcov via phive
Browse files Browse the repository at this point in the history
  • Loading branch information
bdsl committed May 10, 2024
1 parent 6739d97 commit 2654af9
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
14 changes: 14 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,20 @@ jobs:

- run: composer check-platform-reqs

- run:
name: Install Phive
# from https://phar.io/#Install but with 'wget -O' replaced with 'curl -Lo' as the image doesn't have wget
command: |
curl -Lo phive.phar https://phar.io/releases/phive.phar
curl -Lo phive.phar.asc https://phar.io/releases/phive.phar.asc
gpg --keyserver hkps://keys.openpgp.org --recv-keys 0x9D8A98B29B2D5D79
gpg --verify phive.phar.asc phive.phar
chmod +x phive.phar
mv phive.phar /usr/local/bin/phive
# Key below is of Sebastian Bergmann
- run: phive install --trust-gpg-keys D8406D0D82947747293778314AA394086372C20A

- save_cache:
paths:
- vendor
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@
/.phpunit.result.cache
stripe_cli.env
/.build-commit-id.php
/reports
/reports
/tools
4 changes: 4 additions & 0 deletions .phive/phars.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<phive xmlns="https://phar.io/phive">
<phar name="phpcov" version="^10.0.0" installed="10.0.0" location="./tools/phpcov" copy="false"/>
</phive>

0 comments on commit 2654af9

Please sign in to comment.