Skip to content

Commit 9af50d9

Browse files
authored
Merge pull request #8 from jakzal/do-not-sign-phars
Do not sign the phar
2 parents 23d6192 + 914b634 commit 9af50d9

File tree

6 files changed

+3
-15
lines changed

6 files changed

+3
-15
lines changed

.travis.yml

+1-8
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,6 @@ matrix:
77
env: deps=low
88
fast_finish: true
99
before_install:
10-
- |
11-
if [ 'jakzal/phpunit-injector' == "$TRAVIS_PULL_REQUEST_SLUG" ]; then
12-
openssl aes-256-cbc -K $encrypted_a7af76e39835_key -iv $encrypted_a7af76e39835_iv -in .travis/secrets.tar.enc -out .travis/secrets.tar -d
13-
tar xvf .travis/secrets.tar -C .travis
14-
fi;
1510
- phpenv config-rm xdebug.ini
1611
install:
1712
- if [[ $deps = low ]]; then make update-min; else make install; fi
@@ -22,9 +17,7 @@ deploy:
2217
provider: releases
2318
api_key:
2419
secure: jn8Dw+WwWEnkF9BulSd8Jsah4piDP5KZYQd8ybV/JNAXwSUm5HQbZ8mCrVnWd/vqVCtnMPg+8+axU6bkhfAKZl7RHSwM0ZT3iJHNxQLwicOlx4MTgrwvD7HS3zf3WsguA84vNqipr+p/zzezhxzHALX6w7EkjqtF7MfC9H9jq7qPloaPzEqsLbwHnAV4usWTe1E7fNJ03LlJwgpiiU8TaGFJ+UVsuM7wcuGree0A8mttSd7ytE8s1mB2ph3UpXC7izSa/DXa3vOXXlB1AOKCbeunL0arKYGLrwmJq3wVw4oZSnCxgfM2P0uOwjQ7LhBF+OfQpnnS63OAlzeCQrOmMfXfdx8V8SyrjOeA1377MnrElbKgW/r4MGW0/cB1GMwSvsioJBMODFSRKmQH+TCcSpFHyzIij4QzWrfln7URpnRC1Vs0rOfZX+15iyyhI/UatNTrMlQXtIqJENeIg41PMqbmHMcQj63Wtz0DOJ+bBnWx3vsD+s7inuplkGo/JOjPXL4FMCRQvgFQNjoGNTrfoS6G7Ex4SV7toy26L8vzn5g2zys7dnF4mPQZRo81IFw++zP6dGYEbb+XJwNiVix/otKxA3d8PsnUj4zWqrYRBZIXntW1Gipgm3pKfQcuLE55witt5CPucIRYCph3MXB+6Tp+e2m5JaolknSN9LUgFK0=
25-
file:
26-
- build/zalas-phpunit-injector-extension.phar
27-
- build/zalas-phpunit-injector-extension.phar.pubkey
20+
file: build/zalas-phpunit-injector-extension.phar
2821
skip_cleanup: true
2922
on:
3023
tags: true

.travis/.gitignore

-2
This file was deleted.

.travis/secrets.tar.enc

-6.02 KB
Binary file not shown.

Makefile

-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ package: tools/box
5858

5959
cp -r src LICENSE composer.json build/phar
6060
sed -e 's/@@version@@/$(VERSION)/g' manifest.xml.in > build/phar/manifest.xml
61-
[ -f .travis/phpunit-injector-extension-private.pem ] || cat box.json.dist | sed -e '/\"key\": \".*\",/d' -e '/\"algorithm\": \".*\",/d' > box.json
6261

6362
cd build/phar && \
6463
composer remove phpunit/phpunit --no-update && \

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ composer require --dev zalas/phpunit-injector
1919

2020
### Phar
2121

22-
The extension is also distributed as a PHAR, which can be downloaded together with its pubkey from the most recent
22+
The extension is also distributed as a PHAR, which can be downloaded from the most recent
2323
[Github Release](https://github.com/jakzal/phpunit-injector/releases).
2424

25-
Put the extension and its key in your PHPUnit extensions directory.
25+
Put the extension in your PHPUnit extensions directory.
2626
Remember to instruct PHPUnit to load extensions in your `phpunit.xml`:
2727

2828
```xml

box.json.dist

-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
{
22
"base-path": "build/phar",
33
"output": "../zalas-phpunit-injector-extension.phar",
4-
"algorithm": "OPENSSL",
5-
"key": ".travis/phpunit-injector-extension-private.pem",
64
"compression": "GZ",
75
"directories": ["."],
86
"dump-autoload": true,

0 commit comments

Comments
 (0)