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

61 Commits

Author SHA1 Message Date
Matthew Brown
5a9052fa18 Use low 7.2 for Phar 2019-06-04 20:32:30 -04:00
Matthew Brown
a581b4c443 Build Phar on 7.1 so it doesn’t get php73 polyfill
Fixes #1739
2019-06-04 19:14:12 -04:00
Bruce Weirdan
7f86e3cdc5 Deploy phar on all branches 2019-06-02 11:25:53 -04:00
Bruce Weirdan
e6f4f27498 Simplify build config by using repo filter
Also deploy signature to psalm/phar repo (because why not)
2019-06-02 11:25:53 -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
b494629d55 Allow people using their own travis on their forks
Deployment to `psalm/phar` repo is possible only when travis runs on the
main `vimeo/psalm` repository people, so only attempt to deploy there
when `$GITHUB_TOKEN` is available.
2019-06-02 11:25:53 -04:00
Matthew Brown
4b5f89d9d0 Disable code coverage 2019-06-01 22:54:03 -04:00
Matthew Brown
a92edda495 Temporarily disable code coverage while I figure out a way forward 2019-06-01 21:51:50 -04:00
Matthew Brown
1318b7e0fa
Add extra dash 2019-06-01 20:23:51 -04:00
Matthew Brown
a3d2391acb
Install paratest for 7.3 2019-06-01 19:28:08 -04:00
Matthew Brown
10db8d5402 Regular tests use PHPUnit 2019-06-01 19:14:24 -04:00
Matthew Brown
d6e1b26b9f Try to make tests faster 2019-06-01 19:03:24 -04:00
Barney Laurance
7ec9818192 Don't attempt to deploy phar from forked repos (#1720)
Only vimeo/psalm should be deploying
2019-06-01 09:32:12 -04:00
Brown
0bd4dbcbc4 Bump to PHP 7.1
Fixes #1650
2019-05-16 18:36:36 -04:00
Brown
0824ca3bbd Move Phar build sooner 2019-04-29 14:05:43 -04:00
Brown
57bf0fda0d Fix #1562 - use latest version of PHP to build phar 2019-04-16 09:07:03 -04:00
Matthew Brown
284d182fff Fix command 2019-03-31 14:07:59 -04:00
Matthew Brown
326249e13b spirit => shepherd 2019-03-31 14:02:30 -04:00
Brown
bdf0889b4a Fix phar deployment 2019-03-25 13:40:17 -04:00
Matthew Brown
dec5dfbd0f Fix shim dir 2019-03-24 23:58:06 -04:00
Matthew Brown
b357a407f9 Only push Phar to repo when not in a PR 2019-03-24 23:00:22 -04:00
Matthew Brown
ba603acd7b Send build information to remote server 2019-03-23 12:49:37 -04:00
Brown
07768cf505 Add automatic Phar upload to github.com/psalm/shim 2019-03-22 19:14:29 -04:00
Brown
bd372e93af Add config flags for findUnusedVariables and findUnusedCode 2019-03-05 15:45:09 -05:00
Bruce Weirdan
16deb388ae Pull requests and feature branches are considered dev-master 2019-03-02 08:43:19 -05:00
Matthew Brown
58b6ce5c03 Drop 7.4 snapshot support 2019-02-26 08:21:49 -05:00
Bruce Weirdan
80c9114efd Enable 7.4snapshot to replace nightly (that's now 8.x) 2019-02-09 15:48:35 -05:00
Matthew Brown
69d44070f8 Remove nightly PHP builds now they’ve switched to 8.0.0-dev 2019-02-06 16:58:15 -05:00
Bruce Weirdan
c472153329 use xdebug filter for faster builds 2019-01-14 18:38:32 -05:00
Bruce Weirdan
29f5eb559e Added 7.3 to build matrix
PHPCS and code coverage now run on 7.3 as well
2019-01-14 18:38:32 -05:00
Gabriel Caruso
0f406a3083 CI: Use Ubuntu 16.04 2019-01-13 23:05:23 -05:00
Brown
d9a42cf33d Fix phar file 2018-12-14 12:35:02 -05:00
Brown
6c4377699d Fix signing (I hope) of releases 2018-12-14 11:20:31 -05:00
Matthew Brown
fd0ab47b80 Fix #1118 - detect possible issues with unions of mixed 2018-12-08 13:18:55 -05:00
Brown
0f8944bcb5 Fix .travis formatting 2018-11-28 16:41:13 -05:00
Brown
72aae25b18 Add Phive signing to build
Fixes #1098
2018-11-28 16:28:54 -05:00
Matt Brown
13238a0dc8 Add secure github token
Fixes #930
2018-08-07 13:54:02 -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
Matthew Brown
d4ff5f6515 Allow 7.1/lowest deps to fail until I fix 2018-07-20 07:07:25 -04:00
Matt Brown
ebe9452511 Bump XDebugHandler version 2018-07-17 15:24:20 -04:00
Bruce Weirdan
c1e21fcf5d Update PHPUnit (#888)
* upgrade phpunit, test with low and high deps

* work around possibly-anonymous test cases introduced by newer PHPUnit

* Alternative TestCase::getName() nullability workaround

Previous workaround was failing due to PHP warnings on 7.1 or 7.2
(depending on specific signature). There's just no signature that would
be working for all 4 variants of (ver / dep) matrix.

* don't disable xdebug if it's not enabled

* allowed 7.0/high to fail until PHPUnit 6.5.10 is released

see sebastianbergmann/phpunit#3209
2018-07-13 17:44:50 -04:00
Matthew Brown
effb3c4463 Add coveralls back to 7.2 build 2018-07-13 10:13:23 -04:00
Matt Brown
97ea5dcf1f Add nightly build (and allow it to fail) 2018-07-12 17:49:39 -04:00
Matt Brown
6afaf5aae9 Make Psalm compatible with PHP Parser 4 2018-04-17 13:06:02 -04:00
Matthew Brown
d728bbb295 Disable coveralls on all but the PHP 7.2 build 2018-01-29 01:09:09 -05:00
Matthew Brown
2dbbf2fafe Increase Psalm memory limit in anticipation of PHPUnit 6 2018-01-09 01:13:58 -05:00
Matt Brown
87440314c9 Add 7.2 builds 2018-01-03 18:24:14 -05:00
Matthew Brown
921d0ad75c
Look for dead code in every Psalm build (#417) 2017-12-30 09:51:01 -05:00
Matthew Brown
8efc939a5f Move Psalm execution code into PHP file that Psalm can analyse 2017-12-29 17:02:56 -05:00
Matthew Brown
35a9a79542 Fix vendor path to coveralls 2017-12-14 00:49:10 -05:00