mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-12-23 03:26:10 +01:00
[TASK] Run the Travis builds with latest and oldest dependencies (#13)
This commit is contained in:
parent
a32cce2dff
commit
2efde32056
1 changed files with 20 additions and 4 deletions
24
.travis.yml
24
.travis.yml
|
@ -11,8 +11,10 @@ env:
|
|||
- typo3DatabaseHost=localhost typo3DatabaseName=typo3 typo3DatabaseUsername=travis typo3DatabasePassword=''
|
||||
- TYPO3_PATH_ROOT=$PWD/.Build/public
|
||||
matrix:
|
||||
- TYPO3_VERSION="^7.6"
|
||||
- TYPO3_VERSION="^8.7"
|
||||
- TYPO3_VERSION="^7.6" DEPENDENCIES=latest
|
||||
- TYPO3_VERSION="^7.6" DEPENDENCIES=oldest
|
||||
- TYPO3_VERSION="^8.7" DEPENDENCIES=latest
|
||||
- TYPO3_VERSION="^8.7" DEPENDENCIES=oldest
|
||||
|
||||
matrix:
|
||||
exclude:
|
||||
|
@ -26,8 +28,22 @@ before_install:
|
|||
- phpenv config-rm xdebug.ini
|
||||
|
||||
install:
|
||||
- composer require-typo3-version "$TYPO3_VERSION"
|
||||
- git checkout .
|
||||
- >
|
||||
composer require-typo3-version "$TYPO3_VERSION";
|
||||
- >
|
||||
echo;
|
||||
if [ "$DEPENDENCIES" = "latest" ]; then
|
||||
echo "Installing the latest dependencies";
|
||||
composer update --with-dependencies --prefer-stable --prefer-dist;
|
||||
else
|
||||
echo "Installing the lowest dependencies";
|
||||
composer update --with-dependencies --prefer-stable --prefer-dist --prefer-lowest;
|
||||
fi;
|
||||
composer show;
|
||||
- >
|
||||
echo;
|
||||
echo "Restoring the composer.json";
|
||||
git checkout .;
|
||||
|
||||
script:
|
||||
- >
|
||||
|
|
Loading…
Reference in a new issue