1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 04:45:20 +01:00
Commit Graph

23 Commits

Author SHA1 Message Date
Bruce Weirdan
683fe2f4c6
Bake version data into PHAR file
Compatibility between `ocramius/package-versions`,
`composer/package-versions-deprecated`, `composer-runtime-api` and
`humbug/box` (with `humbug/scoper` further complicating things)has been
always a problematic area. So instead of trying to keep up with all the
changes in all of those packages, we will now bake the version data (for
the packages we need) into the PHAR file itself.

Fixes vimeo/psalm#7606
Fixes vimeo/psalm#5399
2022-11-26 00:00:43 -04:00
Matt Brown
ca2e51b3a9 Fix case for echo 2021-01-11 15:19:37 -05:00
Matthew Brown
51f0c58f3b Fix signing 2021-01-11 15:15:14 -05:00
Matt Brown
74c0bd3c19 Try siginig again 2021-01-11 15:05:16 -05:00
Matt Brown
e176786882 Use expliit key id 2021-01-11 14:58:30 -05:00
Matt Brown
00f3ccbb3a Maybe fix signing 2021-01-11 14:37:17 -05:00
Matt Brown
08f6a5c26d Don’t try to import local keys 2021-01-11 13:52:14 -05:00
Bruce Weirdan
7f9712dc92
Added GHA workflow to build phars (#4974) 2021-01-11 13:16:44 -05:00
Matthew Brown
bfbe9a527a Hack around PHP 7.3 polyfill scoping 2019-06-08 19:51:47 -04:00
Barney Laurance
673661c6da Exit build-phar script on any error 2019-06-07 06:52:07 -04:00
Bruce Weirdan
96521a6469 Rearrange build/sign/deploy
- Phar signing moved to build-phar.sh (conditional on gpg keys
availability)
- Tagged phar releases moved to travis-deploy-phar.sh
- `travis-deploy-phar.sh` is now triggered via `script` deploy provider
2019-06-02 11:25:53 -04:00
Bruce Weirdan
aab345ad81 Multi-stage builds (#928)
- Run phpcs once, not on every row of build matrix
- Start coverage builds only when regular test builds succeed
- Always build phar (to see if it builds)
- Automatically deploy psalm.phar on tag builds (no more missing phars)

Also fixes vimeo/psalm#921
2018-08-02 00:44:15 -04:00
Théo FIDRY
1ecf1c4113 Update Box 2018-05-15 14:30:14 -04:00
Théo FIDRY
59d32566d2 Simplify the PHAR build script 2018-05-15 14:30:14 -04:00
Matt Brown
53566bbd90 Pin version of box that doesn’t require xdebug-handler dev-master 2018-04-19 17:44:22 -04:00
Matthew Brown
83811e6e8a Analyse scoped build with Psalm 2018-03-18 10:52:54 -04:00
Matthew Brown
73fadab0b5 Make Phar more robust to object namespace changes 2018-03-12 00:01:52 -04:00
Matthew Brown
0828d5e3b3 Namespace Phar using php-scoper 2018-03-12 00:01:52 -04:00
Bruce Weirdan
c2275f388a box.json -> box.json.dist, use non-deprecated command to build 2018-03-08 19:14:06 -05:00
Bruce Weirdan
742179bc6f more robust check for bz2 extension 2018-03-08 19:14:06 -05:00
Bruce Weirdan
632790e39e phar build tweaks
* run `box build` with phar.readonly=0 (to eliminate the need to change
php.ini settings)
* check for bz2 extension
2018-03-08 19:14:06 -05:00
Bruce Weirdan
0d07925755 increased FD limit 2018-03-08 19:14:06 -05:00
Bruce Weirdan
c13fda4034 phar build tweaks
* added build script
* rebuilt stub to include shebang
* moved built phar to build dir
2018-03-08 19:14:06 -05:00