Commit 36a8ba0
committed
minor #655 Cache the phpunit install between builds on CI (stof)
This PR was squashed before being merged into the master branch (closes #655).
Discussion
----------
Cache the phpunit install between builds on CI
This leverages the CI caches to avoid redownloading PHPUnit on each build with the bridge.
This implies changing the folder in which it gets downloaded to allow caching without side-effects on the composer install (by default, the install happens in `vendor/symfony/phpunit-bridge/bin/.phpunit` but composer cleans existing folders when installing packages)
This also separates the PHPUnit install from the run instead of relying on the lazy-install, to make the output more understandable (especially on Travis where the install part will get collapsed).
Seeing a composer output when running tests can be confusing.
Commits
-------
a811273 Cache the phpunit install between builds on CI2 files changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
7 | 12 | | |
8 | 13 | | |
9 | 14 | | |
| |||
16 | 21 | | |
17 | 22 | | |
18 | 23 | | |
| 24 | + | |
19 | 25 | | |
20 | 26 | | |
21 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| |||
45 | 47 | | |
46 | 48 | | |
47 | 49 | | |
| 50 | + | |
48 | 51 | | |
49 | 52 | | |
50 | 53 | | |
| |||
0 commit comments