mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-10 04:16:13 +01:00
[BUGFIX] Always use the Composer-installed tools (#49)
Add the full relative path to Composer-installed binaries to make sure that are used instead of other versions that happen to be in the path. Also drop unneeded trailing slashes from directories used in Composer scripts.
This commit is contained in:
parent
288fbc7999
commit
6671dce5b3
2 changed files with 6 additions and 5 deletions
|
@ -51,6 +51,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
|
||||||
- Drop the dependency of `roave/security-advisories`
|
- Drop the dependency of `roave/security-advisories`
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
- Always use the Composer-installed tools (#49)
|
||||||
- Avoid unwanted higher PHP versions (#50)
|
- Avoid unwanted higher PHP versions (#50)
|
||||||
- Stop caching `vendor/` on Travis CI (#51)
|
- Stop caching `vendor/` on Travis CI (#51)
|
||||||
- Use the PHP version from the matrix in the CI (#48)
|
- Use the PHP version from the matrix in the CI (#48)
|
||||||
|
|
|
@ -63,11 +63,11 @@
|
||||||
"vendor-dir": ".Build/vendor"
|
"vendor-dir": ".Build/vendor"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"ci:php:lint": "find *.php Classes/ Configuration/ Tests/ -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l",
|
"ci:php:lint": "find *.php Classes Configuration Tests -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l",
|
||||||
"ci:php:sniff": "phpcs Classes Tests",
|
"ci:php:sniff": ".Build/vendor/bin/phpcs Classes Tests",
|
||||||
"ci:ts:lint": "typoscript-lint -c Configuration/TsLint.yml --ansi -n --fail-on-warnings -vvv Configuration/TypoScript/",
|
"ci:ts:lint": ".Build/vendor/bin/typoscript-lint -c Configuration/TsLint.yml --ansi -n --fail-on-warnings -vvv Configuration/TypoScript",
|
||||||
"ci:tests:unit": "phpunit -c .Build/vendor/nimut/testing-framework/res/Configuration/UnitTests.xml Tests/Unit/",
|
"ci:tests:unit": ".Build/vendor/bin/phpunit -c .Build/vendor/nimut/testing-framework/res/Configuration/UnitTests.xml Tests/Unit",
|
||||||
"ci:tests:functional": "find 'Tests/Functional' -wholename '*Test.php' | parallel --gnu 'echo; echo \"Running functional test suite {}\"; phpunit -c .Build/vendor/nimut/testing-framework/res/Configuration/FunctionalTests.xml {}';",
|
"ci:tests:functional": "find 'Tests/Functional' -wholename '*Test.php' | parallel --gnu 'echo; echo \"Running functional test suite {}\"; .Build/vendor/bin/phpunit -c .Build/vendor/nimut/testing-framework/res/Configuration/FunctionalTests.xml {}';",
|
||||||
"ci:tests": [
|
"ci:tests": [
|
||||||
"@ci:tests:unit",
|
"@ci:tests:unit",
|
||||||
"@ci:tests:functional"
|
"@ci:tests:functional"
|
||||||
|
|
Loading…
Reference in a new issue