Skip to content
This repository has been archived by the owner on Dec 9, 2023. It is now read-only.

[TASK] Simplify the test run command configuration in .travis.yml #123

Merged
merged 1 commit into from
Aug 8, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,22 +46,22 @@ jobs:
include:
- stage: test
php: "7.2"
env: TYPO3=^8.7 RUN_TESTS_COMMAND=".Build/vendor/bin/typo3 phpunit:run"
env: TYPO3=^8.7
- stage: test
php: "7.2"
env: TYPO3=^8.7 DEPENDENCIES_PREFERENCE="--prefer-lowest" SYMFONY_CONSOLE="symfony/console:^3.2" RUN_TESTS_COMMAND=".Build/vendor/bin/typo3 phpunit:run"
env: TYPO3=^8.7 DEPENDENCIES_PREFERENCE="--prefer-lowest" SYMFONY_CONSOLE="symfony/console:^3.2"
- stage: test
php: "7.1"
env: TYPO3=^8.7 RUN_TESTS_COMMAND=".Build/vendor/bin/typo3 phpunit:run"
env: TYPO3=^8.7
- stage: test
php: "7.1"
env: TYPO3=^8.7 DEPENDENCIES_PREFERENCE="--prefer-lowest" SYMFONY_CONSOLE="symfony/console:^3.2" RUN_TESTS_COMMAND=".Build/vendor/bin/typo3 phpunit:run"
env: TYPO3=^8.7 DEPENDENCIES_PREFERENCE="--prefer-lowest" SYMFONY_CONSOLE="symfony/console:^3.2"
- stage: test
php: "7.0"
env: TYPO3=^8.7 RUN_TESTS_COMMAND=".Build/vendor/bin/typo3 phpunit:run"
env: TYPO3=^8.7
- stage: test
php: "7.0"
env: TYPO3=^8.7 DEPENDENCIES_PREFERENCE="--prefer-lowest" SYMFONY_CONSOLE="symfony/console:^3.2" RUN_TESTS_COMMAND=".Build/vendor/bin/typo3 phpunit:run"
env: TYPO3=^8.7 DEPENDENCIES_PREFERENCE="--prefer-lowest" SYMFONY_CONSOLE="symfony/console:^3.2"
- stage: release to ter
if: tag IS present AND env(TYPO3_ORG_USERNAME) IS present AND env(TYPO3_ORG_PASSWORD) IS present
php: "7.0"
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
### Added

### Changed
- Simplify the test run command configuration in .travis.yml (#123)
- Require PHP >= 7.0 (#121)
- Require TYPO3 8.7 (#119)

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
},
"scripts": {
"ci:php:lint": "find *.php Classes Configuration Migrations Scripts Tests -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l",
"ci:tests:unit": "$RUN_TESTS_COMMAND --options=\"Tests/Unit\"",
"ci:tests:unit": ".Build/vendor/bin/typo3 phpunit:run --options=\"Tests/Unit\"",
"ci:tests": [
"@ci:tests:unit"
],
Expand Down